mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
20 lines
298 B
Kotlin
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)
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|