GildedRose-Refactoring-Kata/src/test/kotlin/com/gildedrose/GildedRoseTest.kt
2018-10-04 21:32:51 +02:00

20 lines
298 B
Kotlin

package com.gildedrose
import org.junit.Assert.*
import org.junit.Test
class GildedRoseTest {
@Test fun foo() {
val items = arrayOf<Item>(Item("foo", 0, 0))
val app = GildedRose(items)
app.updateQuality()
assertEquals("fixme", app.items[0].name)
}
}