mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
16 lines
311 B
Java
16 lines
311 B
Java
package com.gildedrose;
|
|
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);
|
|
}
|
|
}
|