1
0
mirror of https://github.com/XeonSquared/OC-Copper.git synced 2024-11-08 19:08:05 +11:00
OC-Copper/runtest.lua
2017-03-18 09:37:56 +00:00

14 lines
259 B
Lua

-- Load testnet
local nodes = {}
local nodenames = {}
loadfile("testnet.lua")(function (n)
table.insert(nodes, {})
table.insert(nodenames, n)
end, function (a, b)
table.insert(nodes[a], b)
table.insert(nodes[b], a)
end)
-- Start testing
require("culib")