add janet version

This commit is contained in:
add1ed committed 2023-07-11 11:54:23 +01:00
1 parent d0d6fdb93c
commit 42d6bce336
4 files changed
+85

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
(import ../gilded-rose/main)
(use judge)
(do
(def items
[@{ :name "foo" :quality 3 :sell-in 5}
@{ :name "bar" :quality 6 :sell-in 6}])
(main/update-quality items)
(def found (find |(= ($ :quality) 2) items))
(test (found :name) "fixme"))