-Method-Name outputDrawText to outputTieText changed

This commit is contained in:
Andrin Fassbind 2021-10-08 10:57:12 +02:00
parent 7ed49bfc03
commit 4b748cdce6
2 changed files with 6 additions and 6 deletions

View File

@ -70,8 +70,8 @@ public class Language {
* Methode: outputDrawText * Methode: outputDrawText
* Diese Methode gibt den Text aus, falls es Unentschieden ist. * Diese Methode gibt den Text aus, falls es Unentschieden ist.
*/ */
public void outputDrawText(){ public void outputTieText(){
System.out.println(checkLanguage("Wir haben keinen Gewinner. Es ist unentschieden","We have no Winner. It's a draw","Chúng tôi không có người chiến thắng.")); System.out.println(checkLanguage("Wir haben keinen Gewinner. Es ist unentschieden","We have no Winner. It's a tie","Chúng tôi không có người chiến thắng."));
} }
/** /**

View File

@ -31,10 +31,10 @@ class LanguageTest {
} }
@Test @Test
void outputDrawText(){ void outputTieText(){
deutsch.outputDrawText(); deutsch.outputTieText();
english.outputDrawText(); english.outputTieText();
viet.outputDrawText(); viet.outputTieText();
} }
@Test @Test