Skip to content

UnitsStrictRelative: 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.

UnitsStrictRelative

Test
?
Student response
Teacher answer
Opt
Mark
Answer note
UnitsStrictRelative
12.3*m/s
12.3*m/s
0.01
1 ATUnits_units_match.
UnitsStrictRelative
12.3*m/s
stackunits(12.3,m/s)
0.01
1 ATUnits_units_match.
UnitsStrictRelative
12.3*m/s
stackunits(displaydp(12.3,1),m
/s)
0.01
1 ATUnits_units_match.
UnitsStrictRelative
12*m/s
12.3*m/s
0.01
0 ATUnits_units_match.
UnitsStrictRelative
1.1*Mg/10^6
1.2*kN*ns/(mm*Hz)
0.15
0 ATUnits_compatible_units kg.
UnitsStrictRelative
1.1*Mg/10^6
1.2*kN*ns/(mm*Hz)
0.05
0 ATUnits_compatible_units kg.
Edge case
UnitsStrictRelative
0*m/s
0*m/s
0.01
1 ATUnits_units_match.
UnitsStrictRelative
0.0*m/s
0*m/s
0.01
1 ATUnits_units_match.
UnitsStrictRelative
0*m/s
0.0*m/s
0.01
1 ATUnits_units_match.
UnitsStrictRelative
0.0*m/s
0.0*m/s
0.01
1 ATUnits_units_match.
UnitsStrictRelative
0.0*km/s
0.0*m/s
0.01
0 ATUnits_compatible_units m/s.
UnitsStrictRelative
0.0*m
0.0*m/s
0.01
0 ATUnits_incompatible_units. ATUnits_correct_numerical.
UnitsStrictRelative
0.0
0.0*m/s
0.01
0 ATUnits_SA_no_units.
Your answer must have units.
UnitsStrictRelative
0*J
0.0*J
0.01
1 ATUnits_units_match.