migrate to JUnit 5

This commit is contained in:
Görge Albrecht committed 2019-11-18 17:05:22 +01:00
1 parent f322e6eb1b
commit eb271c686f
2 files changed
+14 -8

No files matched your search

@@ -1,13 +1,13 @@
package com.gildedrose;
import static org.junit.Assert.*;
import org.junit.jupiter.api.Test;
import org.junit.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class GildedRoseTest {
class GildedRoseTest {
@Test
public void foo() {
void foo() {
Item[] items = new Item[] { new Item("foo", 0, 0) };
GildedRose app = new GildedRose(items);
app.updateQuality();