added testmethod indexTestFour in TextTest.java
This commit is contained in:
		
							parent
							
								
									e40c7ddcf6
								
							
						
					
					
						commit
						e64590d931
					
				| 
						 | 
					@ -109,4 +109,13 @@ public class TextTest {
 | 
				
			||||||
        stringListe = txt.index();
 | 
					        stringListe = txt.index();
 | 
				
			||||||
        Assertions.assertEquals(0, stringListe.size());
 | 
					        Assertions.assertEquals(0, stringListe.size());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * Test Method to check if index is working with empty Strings
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Test
 | 
				
			||||||
 | 
					    void indexTestFour() {
 | 
				
			||||||
 | 
					        txt.add("");
 | 
				
			||||||
 | 
					        txt.index();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue