Merge remote-tracking branch 'origin/main' into main
# Conflicts: # docs/EquivalentClass.md # test/TextTest.java
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
class TextOutputTest {
|
||||
|
||||
+5
-5
@@ -1,6 +1,7 @@
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
@@ -34,7 +35,6 @@ public class TextTest {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test Method del
|
||||
*/
|
||||
@Test
|
||||
@@ -77,8 +77,8 @@ public class TextTest {
|
||||
txt.add("Word word etc. !!test zweite... Zeile");
|
||||
txt.add("Lorem ipsum lorem ipsum TEST");
|
||||
stringListe = txt.index();
|
||||
Assertions.assertEquals("Word 1, 2",stringListe.get(0));
|
||||
Assertions.assertEquals("Test 1, 2, 3",stringListe.get(1));
|
||||
Assertions.assertEquals("Word 1, 2", stringListe.get(0));
|
||||
Assertions.assertEquals("Test 1, 2, 3", stringListe.get(1));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -89,7 +89,7 @@ public class TextTest {
|
||||
void indexTestTwo() {
|
||||
txt.add("Word word Word Test");
|
||||
stringListe = txt.index();
|
||||
Assertions.assertEquals("Word 1",stringListe.get(0));
|
||||
Assertions.assertEquals("Word 1", stringListe.get(0));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -99,7 +99,7 @@ public class TextTest {
|
||||
@Test
|
||||
void indexTestThree() {
|
||||
stringListe = txt.index();
|
||||
Assertions.assertEquals(0,stringListe.size());
|
||||
Assertions.assertEquals(0, stringListe.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user