Add actual test logic for arrayTest1
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
490c3a9032
commit
2942c065ea
@ -42,6 +42,19 @@ class database.benchmark {
|
||||
::database.test.arrayTest1.array.del();
|
||||
}
|
||||
function arrayTest1.run() {
|
||||
::temp.arrayTest1 = ::database.test.arrayTest1.array;
|
||||
Array.forEach(
|
||||
"ferdinland:ferdinland",
|
||||
"temp.arrayTest1",
|
||||
() => {
|
||||
if (String.isEqual("ferdinland:ferdinland", "temp.arrayTest1", "entry500")) {
|
||||
logger(1, database.benchmark.arrayTest1.run, "found: entry500");
|
||||
}
|
||||
if (String.isEqual("ferdinland:ferdinland", "temp.arrayTest1", "entry500")) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user