update test
This commit is contained in:
parent
59978f4c6e
commit
5e025b548f
@ -8,8 +8,11 @@ assert(player.get_name(pid) == "Xerxes")
|
||||
test.sleep_until(function() return world.count_chunks() >= 9 end, 1000)
|
||||
print(world.count_chunks())
|
||||
|
||||
timeit(1000000, block.get, 0, 0, 0)
|
||||
timeit(1000000, block.get_slow, 0, 0, 0)
|
||||
for i=1,3 do
|
||||
print("---")
|
||||
timeit(1000000, block.get, 0, 0, 0)
|
||||
timeit(1000000, block.get_slow, 0, 0, 0)
|
||||
end
|
||||
|
||||
block.destruct(0, 0, 0, pid)
|
||||
assert(block.get(0, 0, 0) == 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user