6 Commits

Author SHA1 Message Date
SX
977913c785 Basic tests for SC, cleaner world fixture management 2020-10-31 04:43:24 +02:00
SX
8c5aca5856 Net building tests
Fix few cable place/dig issues

Tests for machine build/dig

Fix machine build/dig bugs

Fix test for machine building

Fix machines acting like cables when placed

Inline fixtures for building/digging tests

fix ignored luacheck warnings

(#105)

fix long lines

(#105)

Add more tests for bugs found

Fix tests, add minetest.get_us_time (implement using socket.gettime)
2020-10-31 04:42:24 +02:00
SX
193447ea20 Tests for network constructor
Cleanup network.lua

Add minetest vector.lua

Add tests for network constructor
2020-10-31 04:38:01 +02:00
SX
f66c644fce Remove metadata for supply,demand,battery_count,battery_charge,battery_charge_max
Remove switching station from networks

Disable few debug prints, add removed machines to LBM

clear_networks refatoring #95

Functions remove_network_node and add_network_branch #95

Fix undef network_id, remove flatten #95
2020-10-31 04:37:21 +02:00
SX
c08732cd87 Fix digiline event and luacheck warnings
Add fake get_modpath for busted
2020-10-31 04:37:12 +02:00
SX
79233d764a Add busted unit testing for technic
Fix test framework and luacheck, Add metadata cleanup ABM

Added busted and contentdb badges
2020-10-31 04:35:35 +02:00