mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
17 lines
293 B
Java
17 lines
293 B
Java
import static org.junit.Assert.*;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class GildedRoseTest {
|
|
|
|
@Test
|
|
public void foo() {
|
|
Item[] items = new Item[] {
|
|
new Item("foo", 0, 0)
|
|
};
|
|
GildedRose app = new GildedRose(items);
|
|
app.updateQuality();
|
|
assertEquals("fixme", app.items[0].name);
|
|
}
|
|
}
|