mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
16 lines
292 B
Groovy
16 lines
292 B
Groovy
package com.gildedrose
|
|
|
|
import org.junit.Test
|
|
|
|
class GildedRoseTest {
|
|
|
|
@Test
|
|
void "foo"() {
|
|
def items = [ new Item("foo", 0, 0) ] as Item[]
|
|
def app = new GildedRose(items)
|
|
app.updateQuality()
|
|
assert "fixme" == app.items[0].name
|
|
}
|
|
|
|
}
|