Skip to content

Commit

Permalink
☠️
Browse files Browse the repository at this point in the history
  • Loading branch information
AlephAlpha committed Jan 7, 2025
1 parent 2189c45 commit 3a86102
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ['9.0.2', '9.4.8', '9.6.6', '9.8.2', '9.10.1']
ghc: ['9.0.2', '9.4.8', '9.10.1', '9.12.1']
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
Expand Down
14 changes: 14 additions & 0 deletions test/Eval.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3922,3 +3922,17 @@ testEval = describe "Solutions to Code Golf Stack Exchange challenges" $ do
[ ("6 2", Count 10)
, ("9 3", Count 22)
]
describe "q276909: Walks in Nice (Nizza)" $ do
specEval
"ᵐįŋᵖ{∫ŤlƆž≥}→ᵐɗH"
[ ("3", Count 14)
, ("4", Count 42)
]
describe "q277015: \"Graphing\" calculator" $ do
specEval
"R*+"
[ ("5 2 0", all_ ["[2,4,6,8,10]"])
, ("15 1 1", all_ ["[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]"])
, ("1 1/2 -1", all_ ["[-1/2]"])
, ("5 0 0", all_ ["[0,0,0,0,0]"])
]

0 comments on commit 3a86102

Please sign in to comment.