From 4b748cdce6769b8123c219e51aa9fa6ae6c6d37d Mon Sep 17 00:00:00 2001 From: Andrin Fassbind Date: Fri, 8 Oct 2021 10:57:12 +0200 Subject: [PATCH] -Method-Name outputDrawText to outputTieText changed --- src/Language.java | 4 ++-- test/LanguageTest.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Language.java b/src/Language.java index 926fbda..844bf42 100644 --- a/src/Language.java +++ b/src/Language.java @@ -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.")); } /** diff --git a/test/LanguageTest.java b/test/LanguageTest.java index 64e5ece..8d2bfa3 100644 --- a/test/LanguageTest.java +++ b/test/LanguageTest.java @@ -31,10 +31,10 @@ class LanguageTest { } @Test - void outputDrawText(){ - deutsch.outputDrawText(); - english.outputDrawText(); - viet.outputDrawText(); + void outputTieText(){ + deutsch.outputTieText(); + english.outputTieText(); + viet.outputTieText(); } @Test