Skip to content

Commit f4d0dfc

Browse files
authored
JAVA-22625 Replaced Junit4 package with Junit5 (#14334)
1 parent cd747f0 commit f4d0dfc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
package com.baeldung.asciiart;
22

33
import com.baeldung.asciiart.AsciiArt.Settings;
4-
import org.junit.Test;
54

65
import java.awt.*;
76

7+
import org.junit.jupiter.api.Test;
8+
89
public class AsciiArtIntegrationTest {
910

1011
@Test
1112
public void givenTextWithAsciiCharacterAndSettings_shouldPrintAsciiArt() {
1213
AsciiArt asciiArt = new AsciiArt();
1314
String text = "BAELDUNG";
1415
Settings settings = asciiArt.new Settings(new Font("SansSerif", Font.BOLD, 24), text.length() * 30, 30); // 30 pixel width per character
15-
16+
1617
asciiArt.drawString(text, "*", settings);
1718
}
1819
}

0 commit comments

Comments
 (0)