Julia implementation of the Gilded Rose kata

This commit is contained in:
Anirudh committed 2022-11-28 01:00:21 -08:00
1 parent 0aab1b9ade
commit 461e38e134
3 files changed
+110

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
using Test
# To run the tests, include this file into your REPL
# julia> include("runtests.jl")
include("gilded_rose.jl")
@testset "gilded_rose.jl" begin
# Test foo
items = [Item("foo", 0, 0)]
gildedrose = GildedRose(items)
update_quality!(gildedrose)
@test items[1].name == "fixme"
end