Files
mercury/tests/hard_coded/uint8_switch_test.exp
Julien Fischer 4126952a8c Test switches on uint{8,16,32}s.
tests/hard_coded/Mmakefile:
tests/hard_coded/uint{8,16,32}_switch_test.{m,exp}:
    As above.
2017-09-15 02:43:34 -04:00

10 lines
199 B
Plaintext

foo(0u8, _) ==> <<FALSE>>
foo(1u8, "one")
foo(2u8, _) ==> <<FALSE>>
foo(3u8, "three")
foo(4u8, _) ==> <<FALSE>>
foo(5u8, "five")
foo(6u8, _) ==> <<FALSE>>
foo(7u8, "seven")
foo(8u8, _) ==> <<FALSE>>