Differences Between: [Versions 310 and 311] [Versions 39 and 311]
Unit tests for Number of errors grading logic
Copyright: | 2009 David Mudrak <david.mudrak@gmail.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 262 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
lib_test:: (10 methods):
setUp()
tearDown()
test_calculate_peer_grade_null_grade()
test_calculate_peer_grade_no_error()
test_calculate_peer_grade_one_error()
test_calculate_peer_grade_three_errors_same_weight_a()
test_calculate_peer_grade_three_errors_same_weight_b()
test_calculate_peer_grade_one_error_weighted()
test_calculate_peer_grade_zero_weight()
test_calculate_peer_grade_sum_weight()
testable_workshop_numerrors_strategy:: (1 method):
calculate_peer_grade()
setUp() X-Ref |
Setup testing environment |
tearDown() X-Ref |
No description |
test_calculate_peer_grade_null_grade() X-Ref |
No description |
test_calculate_peer_grade_no_error() X-Ref |
No description |
test_calculate_peer_grade_one_error() X-Ref |
No description |
test_calculate_peer_grade_three_errors_same_weight_a() X-Ref |
No description |
test_calculate_peer_grade_three_errors_same_weight_b() X-Ref |
No description |
test_calculate_peer_grade_one_error_weighted() X-Ref |
No description |
test_calculate_peer_grade_zero_weight() X-Ref |
No description |
test_calculate_peer_grade_sum_weight() X-Ref |
No description |
Class: testable_workshop_numerrors_strategy - X-Ref
Test subclass that makes all the protected methods we want to test publiccalculate_peer_grade(array $grades) X-Ref |
This is where the calculation of suggested grade for submission is done |