feat(scala): m09 input/app/runtime and m10 extensions with tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-29 00:13:52 +01:00
co-authored by Claude Opus 5.5
parent bd0c9fcc0c
commit c6ecb7c013
13 changed files with 448 additions and 6 deletions
+10
View File
@@ -0,0 +1,10 @@
package snake
import Fixtures.*
class M09InputSuite extends munit.FunSuite:
cases("m09-input").foreach { c =>
test(s"keyToAction: ${c("name").str}") {
assertEquals(Input.keyToAction(c("args")(0).str), opt(c("expected"))(action))
}
}