type checks with (the [type] [value])

This commit is contained in:
2020-11-18 16:16:41 -07:00
parent fea2798513
commit 2308fd8635
3 changed files with 18 additions and 2 deletions

View File

@@ -137,4 +137,8 @@ class BasicTestCase extends Test {
Assert.equals(6, BasicTestCase.myTryCatch(404));
Assert.equals(7, BasicTestCase.myTryCatch(["list error"]));
}
function testTypeCheck() {
Assert.equals(5, BasicTestCase.myTypeCheck());
}
}