CoolFace
Datasetpublic

FPEvalDataset/LeetCodeProblem

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes302downloads
MySuite.scala21 linesDownload Raw Back to scala_tests
1 2class MySuite extends munit.FunSuite {3  4  test("test1") {5    assertEquals(Main.isGood(List(2, 1, 3)), false)6  }7 8  test("test2") {9    assertEquals(Main.isGood(List(1, 3, 3, 2)), true)10  }11 12  test("test3") {13    assertEquals(Main.isGood(List(1, 1)), true)14  }15 16  test("test4") {17    assertEquals(Main.isGood(List(3, 4, 4, 1, 2, 1)), false)18  }19 20}21