feat(js): m01 util and m02 model with tests, fixtures, purity audit

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-28 23:38:29 +01:00
co-authored by Claude Sonnet 5.5
parent 5be3cebe71
commit 22c221a042
14 changed files with 508 additions and 4 deletions
+33
View File
@@ -0,0 +1,33 @@
{
"function": "opposite",
"cases": [
{
"name": "up",
"args": [
"Up"
],
"expected": "Down"
},
{
"name": "down",
"args": [
"Down"
],
"expected": "Up"
},
{
"name": "left",
"args": [
"Left"
],
"expected": "Right"
},
{
"name": "right",
"args": [
"Right"
],
"expected": "Left"
}
]
}