CoolFace
Datasetpublic

TheRealSamuel/LeetCodeProblem

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes572downloads
MySuite.scala17 linesDownload Raw Back to scala_tests
1 2class MySuite extends munit.FunSuite {3  4  test("test1") {5    assertEquals(Main.minReverseOperations(4,0,List(1,2),4), List(0,-1,-1,1))6  }7 8  test("test2") {9    assertEquals(Main.minReverseOperations(5,0,List(2,4),3), List(0,-1,-1,-1,-1))10  }11 12  test("test3") {13    assertEquals(Main.minReverseOperations(4,2,List(0,1,3),1), List(-1,-1,0,-1))14  }15 16}17