variadic min, max
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user