Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
@@ -17,7 +17,7 @@ class TextOutputTest {
|
||||
text.add("Virtute praecedunt, quod fere cotidianis proeliis cum Germanis contendunt, septentr ionesimmensoslongusw ordos.");
|
||||
text.add("Virtutedasjdhashdkjhakjdhakdshjkashd praecedunt, quod fere cotidianis proeliis cum");
|
||||
//text.add("ordos.");
|
||||
//text.add("1234");
|
||||
text.add("1234");
|
||||
text.add("12417575147517845 445264565");
|
||||
text.add(" ");
|
||||
//text.add("1eeeeeee8597389751");
|
||||
|
||||
@@ -58,8 +58,11 @@ public class TextTest {
|
||||
Assertions.assertFalse(txt.replace(3, "alt", "neu"));
|
||||
Assertions.assertTrue(txt.replace(1, "erste", "zweite"));
|
||||
Assertions.assertTrue(txt.replace("zweite", "erste"));
|
||||
Assertions.assertTrue(txt.add("Text Text hallo Text"));
|
||||
Assertions.assertTrue(txt.replace("Text", "Test"));
|
||||
Assertions.assertEquals("Das ist der zweite Beispiel Text.", txt.getText().get(0));
|
||||
Assertions.assertEquals("Das ist der erste Beispiel Text.", txt.getText().get(1));
|
||||
Assertions.assertEquals("Test Test hallo Test", txt.getText().get(2));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user