Edit test and add print for debug
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s
This commit is contained in:
parent
b0d2fd4695
commit
5d62488695
@ -27,9 +27,14 @@ class database.benchmark {
|
||||
function arrayTest1.setup() {
|
||||
::database.test.arrayTest1.array = [];
|
||||
for ($i=0;$i<=500;$i++) {
|
||||
::database.test.arrayTest1.array << "array item &<$i>";
|
||||
$thisI = $i;
|
||||
$thisI += 1;
|
||||
::database.test.arrayTest1.array << {id: $thisI, string: "array item &<$i>"};
|
||||
}
|
||||
}
|
||||
function arrayTest1.print() {
|
||||
tellraw @a {"nbt":"database.test.arrayTest1.array","storage":"ferdinland:ferdinland"};
|
||||
}
|
||||
function arrayTest1.clean() {
|
||||
::database.test.arrayTest1.array.del();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user