test_binmodules.lua 374 B

12345678910111213141516171819
  1. --
  2. -- tests/base/test_binmodules.lua
  3. -- Verify handling of binary modules.
  4. -- Copyright (c) 2017 Tom van Dijck and the Premake project
  5. --
  6. local suite = test.declare("premake_binmodules")
  7. local p = premake
  8. function suite.setup()
  9. require("example")
  10. end
  11. function suite.testExample()
  12. local result = example.test("world")
  13. test.isequal("hello world", result)
  14. end