updated import
authorChristian Urban <christian.urban@kcl.ac.uk>
Wed, 09 Nov 2022 18:40:57 +0000
changeset 437 d4d4669ad054
parent 436 db3300b47725
child 438 811cf79546da
updated import
main_testing2/wordle_test1.scala
main_testing2/wordle_test2.scala
main_testing2/wordle_test3a.scala
main_testing2/wordle_test3b.scala
main_testing2/wordle_test4.scala
main_testing2/wordle_test5.scala
main_testing2/wordle_test6.scala
main_testing2/wordle_test7.scala
--- a/main_testing2/wordle_test1.scala	Wed Nov 09 18:30:46 2022 +0000
+++ b/main_testing2/wordle_test1.scala	Wed Nov 09 18:40:57 2022 +0000
@@ -1,5 +1,5 @@
 
-import Resit._
+import M2._
 
 val urban_wordle_url = """https://nms.kcl.ac.uk/christian.urban/wordle.txt"""
 val urban_secrets = get_wordle_list(urban_wordle_url)
--- a/main_testing2/wordle_test2.scala	Wed Nov 09 18:30:46 2022 +0000
+++ b/main_testing2/wordle_test2.scala	Wed Nov 09 18:40:57 2022 +0000
@@ -1,5 +1,5 @@
 
-import Resit._
+import M2._
 
 
 assert(removeOne(List(1,2,3,2,1), 3) == List(1, 2, 2, 1))
--- a/main_testing2/wordle_test3a.scala	Wed Nov 09 18:30:46 2022 +0000
+++ b/main_testing2/wordle_test3a.scala	Wed Nov 09 18:40:57 2022 +0000
@@ -1,5 +1,5 @@
 
-import Resit._
+import M2._
 
 assert(pool("chess", "caves").toSet == Set('h', 'e', 's'))
 assert(pool("chess", "swiss").toSet == Set('c', 'h', 'e'))
--- a/main_testing2/wordle_test3b.scala	Wed Nov 09 18:30:46 2022 +0000
+++ b/main_testing2/wordle_test3b.scala	Wed Nov 09 18:40:57 2022 +0000
@@ -1,5 +1,5 @@
 
-import Resit._
+import M2._
 
 assert(score("chess", "caves") == List(Correct, Absent, Absent, Present, Correct))
 assert(score("doses", "slide") == List(Present, Absent, Absent, Present, Present))
--- a/main_testing2/wordle_test4.scala	Wed Nov 09 18:30:46 2022 +0000
+++ b/main_testing2/wordle_test4.scala	Wed Nov 09 18:40:57 2022 +0000
@@ -1,5 +1,5 @@
 
-import Resit._
+import M2._
 
 assert(iscore("chess", "caves") == 21)
 assert(iscore("chess", "swiss") == 20)
--- a/main_testing2/wordle_test5.scala	Wed Nov 09 18:30:46 2022 +0000
+++ b/main_testing2/wordle_test5.scala	Wed Nov 09 18:40:57 2022 +0000
@@ -1,5 +1,5 @@
 
-import Resit._
+import M2._
 import io.Source
 
 
--- a/main_testing2/wordle_test6.scala	Wed Nov 09 18:30:46 2022 +0000
+++ b/main_testing2/wordle_test6.scala	Wed Nov 09 18:40:57 2022 +0000
@@ -1,5 +1,5 @@
 
-import Resit._
+import M2._
 
 import io.Source
 
--- a/main_testing2/wordle_test7.scala	Wed Nov 09 18:30:46 2022 +0000
+++ b/main_testing2/wordle_test7.scala	Wed Nov 09 18:40:57 2022 +0000
@@ -1,5 +1,5 @@
 
-import Resit._
+import M2._
 
 import io.Source