Files
Hunter/scripts/Tests/LeaderRules.spec.luau

6 lines
205 B
Luau

--!strict
return function(rules: any)
assert(rules.points(false)==1 and rules.points(true)==3)
assert(rules.nextIndex(1,1,true)==1 and rules.nextIndex(2,2,true)==1 and rules.nextIndex(2,3,false)==2)
end