]>
iEval git - gruntmaster-daemon.git/blob - lib/Gruntmaster/Daemon/Judge/Absolute.pm
1 package Gruntmaster
:: Daemon
:: Judge
:: Absolute
;
7 use Gruntmaster
:: Daemon
:: Constants qw
/AC/ ;
9 our $VERSION = '5999.000_005' ;
11 ##################################################
15 ref $result ?
( result
=> $result ->[ 0 ], result_text
=> $result ->[ 1 ]) : ( result
=> AC
, result_text
=> 'Accepted' )
25 Gruntmaster::Daemon::Judge::Absolute - All-or-nothing ACM-style judge
29 use Gruntmaster::Daemon::Judge::Absolute;
30 Gruntmaster::Daemon::Judge::Absolute::judge($result1, $result2, $result3, ...);
34 Gruntmaster::Daemon::Judge::Absolute is a judge which returns the result of the last test executed. Gruntmaster::Daemon stops running tests if the judge is Gruntmaster::Daemon::Judge::Absolute and a test fails, so the last test result is Accepted if and only if all tests succeeded.
38 Marius Gavrilescu E<lt>marius@ieval.roE<gt>
40 =head1 COPYRIGHT AND LICENSE
42 Copyright (C) 2014 by Marius Gavrilescu
44 This library is free software: you can redistribute it and/or modify
45 it under the terms of the GNU Affero General Public License as published by
46 the Free Software Foundation, either version 3 of the License, or
47 (at your option) any later version.
This page took 0.046276 seconds and 4 git commands to generate.