BooleanExpressions.sctunit 379 B

12345678910111213141516
  1. testcase for BooleanExpressions {
  2. test booleanExpressions {
  3. assert active (BooleanExpressions.main_region.StateA)
  4. assert myBool1 == true
  5. assert myBool2 == false
  6. raise e1
  7. cycle
  8. assert active (BooleanExpressions.main_region.StateB)
  9. assert and == false
  10. assert or == true
  11. assert not == false
  12. assert equal == false
  13. assert notequal == true
  14. }
  15. }