mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
17 lines
312 B
Julia
17 lines
312 B
Julia
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
|