mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-18 11:55:07 +00:00
Julia implementation of the Gilded Rose kata
This commit is contained in:
3 files changed
+110
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user