variadic min, max

This commit is contained in:
2020-11-14 17:33:27 -07:00
parent fadd9d32e2
commit 0fe8cbd28b
4 changed files with 36 additions and 1 deletions

View File

@@ -74,4 +74,12 @@ class BasicTestCase extends Test {
function testUnop() {
Assert.equals(7, BasicTestCase.myInc);
}
function testMin() {
Assert.equals(1, BasicTestCase.myMin);
}
function testMax() {
Assert.equals(9, BasicTestCase.myMax);
}
}