mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update test
This commit is contained in:
parent
59978f4c6e
commit
5e025b548f
1 changed files with 5 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue