SX 6cee944770
Extended Mineunit tests (#208)
* Extended Mineunit tests

* Tests for Technic CNC

* Test node placement for all listed nodes

* Test cable plate placement
2021-11-06 09:12:08 +02:00

28 lines
651 B
Lua

mineunit:set_modpath("mesecons", "spec/fixtures")
mineunit:set_modpath("mesecons_mvps", "spec/fixtures")
mesecon = {
state = {},
rules = {
default = {
{x = 0, y = 0, z = -1},
{x = 1, y = 0, z = 0},
{x = -1, y = 0, z = 0},
{x = 0, y = 0, z = 1},
{x = 1, y = 1, z = 0},
{x = 1, y = -1, z = 0},
{x = -1, y = 1, z = 0},
{x = -1, y = -1, z = 0},
{x = 0, y = 1, z = 1},
{x = 0, y = -1, z = 1},
{x = 0, y = 1, z = -1},
{x = 0, y = -1, z = -1},
}
}
}
mesecon = setmetatable(mesecon, {
__call = function(self,...) return self end,
__index = function(...) return function(...)end end,
})