/test/language/unclassified/wmh/test_wmh01.e

http://github.com/tybor/Liberty · Specman e · 25 lines · 19 code · 5 blank · 1 comment · 0 complexity · a7f624716dd4dbc0f248b4e85d5ae509 MD5 · raw file

  1. class TEST_WMH01
  2. -- From a bug report of "Wai Ming, HO" <waimingh@irisa.fr>
  3. insert
  4. EIFFELTEST_TOOLS
  5. create {}
  6. make
  7. feature {}
  8. make
  9. local
  10. t: AUX_WMH01TOP; b: AUX_WMH01BOTTOM
  11. do
  12. create t
  13. t.execute_once
  14. assert(t.done1)
  15. create b
  16. b.execute_once
  17. assert(not b.done1)
  18. assert(b.done2)
  19. end
  20. end -- class TEST_WMH01