-Method-Name outputDrawText to outputTieText changed
This commit is contained in:
parent
7ed49bfc03
commit
4b748cdce6
|
@ -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."));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -31,10 +31,10 @@ class LanguageTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
void outputDrawText(){
|
||||
deutsch.outputDrawText();
|
||||
english.outputDrawText();
|
||||
viet.outputDrawText();
|
||||
void outputTieText(){
|
||||
deutsch.outputTieText();
|
||||
english.outputTieText();
|
||||
viet.outputTieText();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue