Update engine-tests/src/test/java/org/terasology/rendering/FontUnderlineTest.java
Adjusted style (removed extra spacing and inner class)
private static final char START_UNDERLINE = 0xF001;
private static final char END_UNDERLINE = 0xF002;
- public static class isValid {
-
@Test
public void testStartUnderline() {
assertTrue(FontUnderline.isValid(START_UNDERLINE));
@@ -43,9 +41,6 @@ public void testInvalidUnderline() {
char invalidUnderline = 0xF003;
assertFalse(FontUnderline.isValid(invalidUnderline));
}
- }
-
- public static class markUnderlined {
@Test
public void testMarkUnderlined() {
@@ -53,4 +48,3 @@ public void testMarkUnderlined() {
assertTrue(FontUnderline.markUnderlined(testString).equals(START_UNDERLINE + testString + END_UNDERLINE));
}
}
-}
