mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
15 lines
287 B
Java
15 lines
287 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);
|
|
}
|
|
}
|