Browse Source

Unittest: colored own location Berge

remotes/origin/map
Tanja Herche 2 years ago
parent
commit
e0b136c15d
  1. 2
      src/main/java/org/bitbiome/commands/MapCommand.java
  2. 2
      src/test/java/org/bitbiome/commands/MapCommandTest.java

2
src/main/java/org/bitbiome/commands/MapCommand.java

@ -58,7 +58,7 @@ public class MapCommand implements CommandAPI{
.append("|________________________________|________________________________|________________________________|\n") .append("|________________________________|________________________________|________________________________|\n")
.append("| | | |\n") .append("| | | |\n")
.append("| | | |\n") .append("| | | |\n")
.append("| " + Colors.ANSI_BRIGHT_BLACK + locations.getJSONObject(1).getString("name") + Colors.ANSI_RESET + " | " + Colors.ANSI_BLUE + locations.getJSONObject(0).getString("name") + Colors.ANSI_RESET + " | " + Colors.ANSI_BRIGHT_BLACK + locations.getJSONObject(3).getString("name") + Colors.ANSI_RESET + " |" + "\n")
.append("| " + Colors.ANSI_BRIGHT_BLACK + locations.getJSONObject(1).getString("name") + Colors.ANSI_RESET + " | " + Colors.ANSI_BLUE + locations.getJSONObject(0).getString("name") + Colors.ANSI_RESET + " | " + Colors.ANSI_GREEN + locations.getJSONObject(3).getString("name") + Colors.ANSI_RESET + " |" + "\n")
.append("| | | |\n") .append("| | | |\n")
.append("|________________________________|________________________________|________________________________|\n"); .append("|________________________________|________________________________|________________________________|\n");

2
src/test/java/org/bitbiome/commands/MapCommandTest.java

@ -83,7 +83,7 @@ public class MapCommandTest {
.append("|________________________________|________________________________|________________________________|\n") .append("|________________________________|________________________________|________________________________|\n")
.append("| | | |\n") .append("| | | |\n")
.append("| | | |\n") .append("| | | |\n")
.append("| " + Colors.ANSI_BRIGHT_BLACK + "Strand" + Colors.ANSI_RESET + " | " + Colors.ANSI_BLUE + "Wald" + Colors.ANSI_RESET + " | " + Colors.ANSI_BRIGHT_BLACK + "Berge" + Colors.ANSI_RESET + " |" + "\n")
.append("| " + Colors.ANSI_BRIGHT_BLACK + "Strand" + Colors.ANSI_RESET + " | " + Colors.ANSI_BLUE + "Wald" + Colors.ANSI_RESET + " | " + Colors.ANSI_GREEN + "Berge" + Colors.ANSI_RESET + " |" + "\n")
.append("| | | |\n") .append("| | | |\n")
.append("|________________________________|________________________________|________________________________|\n"); .append("|________________________________|________________________________|________________________________|\n");

Loading…
Cancel
Save