How to use IO tests with floating point numbers?
Sometimes students might output numbers in a different format, or use a different type of rounding. CodeGrade supplies a normalize_floats
program in AutoTest to solve this issue. You can use this in the following way: normalize_floats amount_of_decimals program_to_run
.
PreviousHow to use weights and points when using a Discrete Rubric Category with AutoTestNextHow to let IO tests pass when the exit code is nonzero
Last updated