Playground#
The interactive playground needs JavaScript and WebAssembly. Here is what it would show for a specification with a type error: the specification, then the report of the checker.
package System
part Wheel
let deceleration_duration in real \ s \
part
requirement Wheel_deceleration top
on Wheel
is
@@
The [[Wheel]] shall decelerate within 3s.
@@
requirement
requirement Deceleration_bound bottom
on Wheel::deceleration_duration
refines Wheel_deceleration
is
Wheel::deceleration_duration < false
requirement
package
reqtool check#
17:4 E03010 expected type Number got Boolean
Wheel::deceleration_duration < false