Skip to content

UnitsRelative: Answer test results

This page exposes the results of running answer tests on STACK test cases. This page is automatically generated from the STACK unit tests and is designed to show question authors what answer tests actually do. This includes cases where answer tests currentl fail, which gives a negative expected mark. Comments and further test cases are very welcome.

UnitsRelative

Test
?
Student response
Teacher answer
Opt
Mark
Answer note
UnitsRelative
12.3*m/s
12.3*m/s
0.01
1 ATUnits_units_match.
UnitsRelative
12*m/s
12.3*m/s
0.01
0 ATUnits_units_match.
UnitsRelative
1.1*Mg/10^6
1.2*kN*ns/(mm*Hz)
0.15
1 ATUnits_compatible_units kg.
UnitsRelative
1.1*Mg/10^6
1.2*kN*ns/(mm*Hz)
0.05
0 ATUnits_compatible_units kg.
Edge case
UnitsRelative
0*m/s
0*m/s
0.01
1 ATUnits_units_match.
UnitsRelative
0.0*m/s
0*m/s
0.01
1 ATUnits_units_match.
UnitsRelative
0*m/s
0.0*m/s
0.01
1 ATUnits_units_match.
UnitsRelative
0.0*m/s
0.0*m/s
0.01
1 ATUnits_units_match.
UnitsRelative
0.0*km/s
0.0*m/s
0.01
1 ATUnits_compatible_units m/s.
UnitsRelative
0.0*m
0.0*m/s
0.01
0 ATUnits_incompatible_units. ATUnits_correct_numerical.
Your units are incompatible with those used by the teacher. Please check your units carefully.
UnitsRelative
0.0
0.0*m/s
0.01
0 ATUnits_SA_no_units.
Your answer must have units.
UnitsRelative
0.0*kVA
0.0*kVA
0.002
1 ATUnits_units_match.