-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
* Diese Methode gibt den Text aus, falls es Unentschieden ist.
*/
public void outputDrawText(){
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."));
public void outputTieText(){
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
void outputDrawText(){
deutsch.outputDrawText();
english.outputDrawText();
viet.outputDrawText();
void outputTieText(){
deutsch.outputTieText();
english.outputTieText();
viet.outputTieText();
}
@Test