官术网_书友最值得收藏!

Test – by default there's no winner

Let's start by defining the default response of the play method:

@Test
public void whenPlayThenNoWinner() {
  String actual = ticTacToe.play(1,1);
  assertEquals("No winner", actual);
}

If no winning condition is fulfilled, then there is no winner.
主站蜘蛛池模板: 洛南县| 玉树县| 达州市| 台东县| 来宾市| 微博| 洛扎县| 柳江县| 静安区| 廉江市| 喀什市| 南城县| 梅州市| 康保县| 正宁县| 涟源市| 县级市| 敖汉旗| 塘沽区| 潞城市| 瓮安县| 车险| 拉萨市| 白玉县| 鹤岗市| 会宁县| 静海县| 五峰| 临安市| 三穗县| 油尖旺区| 平泉县| 孟州市| 乐东| 福州市| 朝阳区| 开远市| 茌平县| 右玉县| 潞西市| 临桂县|