mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-18 20:05:04 +00:00
Add initial test
This commit is contained in:
4 files changed
+18
-2
No files matched your search
@@ -0,0 +1,11 @@
|
||||
open Gilded_rose
|
||||
|
||||
let test () =
|
||||
let items = Items.v ~items:[ Item.v "Foo" 10 20 ] () in
|
||||
Alcotest.(check string)
|
||||
"Broken test" "Fixme"
|
||||
(List.hd items |> fun item -> item.name)
|
||||
|
||||
let () =
|
||||
let open Alcotest in
|
||||
run "Gilded Rose" [ ("Our first test", [ test_case "fixme" `Quick test ]) ]
|
||||
Reference in new issue
Block a user