BooleanExpressions.sctunit 416 B

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