/tutorial/plugin/external_type/test.e

http://github.com/tybor/Liberty · Specman e · 17 lines · 14 code · 3 blank · 0 comment · 0 complexity · e1ec6265814cdd9a1e87af4987902a47 MD5 · raw file

  1. class TEST
  2. create {}
  3. make
  4. feature {}
  5. make
  6. local
  7. uint: UNSIGNED_INT_WRAPPER
  8. do
  9. create uint.from_integer_64({INTEGER_64 42})
  10. io.put_string("The (unsigned) answer is: ")
  11. io.put_integer(uint.as_integer_64)
  12. io.put_new_line
  13. end
  14. end -- class TEST