Prelude.groups()

This commit is contained in:
2020-11-19 12:48:22 -07:00
parent 2308fd8635
commit 8ee2fa5bca
3 changed files with 27 additions and 1 deletions

View File

@@ -141,4 +141,9 @@ class BasicTestCase extends Test {
function testTypeCheck() {
Assert.equals(5, BasicTestCase.myTypeCheck());
}
function testGroups() {
Assert.equals([[1, 2], [3, 4]].toString(), BasicTestCase.myGroups1().toString());
Assert.equals([[1, 2, 3], [4]].toString(), BasicTestCase.myGroups2().toString());
}
}