main_testing2/wordle_test2.scala
changeset 434 1eb11d787af7
parent 432 87e487ccbd7c
child 436 2f17f233cddc
equal deleted inserted replaced
433:a6aa851361d0 434:1eb11d787af7
     1 
     1 
     2 import Resit._
     2 import M2._
     3 
     3 
     4 
     4 
     5 assert(removeOne(List(1,2,3,2,1), 3) == List(1, 2, 2, 1))
     5 assert(removeOne(List(1,2,3,2,1), 3) == List(1, 2, 2, 1))
     6 assert(removeOne(List(1,2,3,2,1), 2) == List(1, 3, 2, 1))
     6 assert(removeOne(List(1,2,3,2,1), 2) == List(1, 3, 2, 1))
     7 assert(removeOne(List(1,2,3,2,1), 1) == List(2, 3, 2, 1))
     7 assert(removeOne(List(1,2,3,2,1), 1) == List(2, 3, 2, 1))