Move exercises out of basic/ directory
This commit is contained in:
parent
d3d6c9e650
commit
37c911fa60
@ -4,8 +4,7 @@ end
|
||||
|
||||
-- Tests -----------------------------------------------------------------------
|
||||
|
||||
package.path = package.path .. ";../luaunit/?.lua"
|
||||
local luaunit = require("luaunit")
|
||||
local luaunit = require("luaunit.luauint")
|
||||
|
||||
function test_distance_between_foo_and_bar_is_3()
|
||||
luaunit.assertEquals(hamming_distance("foo", "bar"), 3)
|
@ -4,8 +4,7 @@ end
|
||||
|
||||
-- Tests -----------------------------------------------------------------------
|
||||
|
||||
package.path = package.path .. ";../luaunit/?.lua"
|
||||
local luaunit = require("luaunit")
|
||||
local luaunit = require("luaunit.luaunit")
|
||||
|
||||
function test_2004_is_leap_year()
|
||||
luaunit.assertTrue(leap_year(2004))
|
@ -18,8 +18,7 @@ end
|
||||
|
||||
-- Tests -----------------------------------------------------------------------
|
||||
|
||||
package.path = package.path .. ";../luaunit/?.lua"
|
||||
local luaunit = require("luaunit")
|
||||
local luaunit = require("luaunit.luaunit")
|
||||
|
||||
function test_violet_orange_black_is_73_ohms()
|
||||
local resistance = decode_resistance({violet, orange, black})
|
Loading…
x
Reference in New Issue
Block a user