Skip to content

Instantly share code, notes, and snippets.

@deepal
Created July 16, 2022 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deepal/151e33856bec1eb5daa1331f2d5d7532 to your computer and use it in GitHub Desktop.
Save deepal/151e33856bec1eb5daa1331f2d5d7532 to your computer and use it in GitHub Desktop.
describe("sum module", function ()
it("should return the sum of two numbers", function ()
local sum = require "lib.sum"
local result = sum(100, 200)
assert.are.same(300, result)
end)
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment