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

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.
主站蜘蛛池模板: 固镇县| 丘北县| 静海县| 怀集县| 汝南县| 龙游县| 荥阳市| 青龙| 田阳县| 碌曲县| 朝阳区| 沂水县| 卓资县| 民权县| 江都市| 萍乡市| 沈丘县| 阿克陶县| 依兰县| 鱼台县| 镇原县| 通化市| 尉氏县| 西平县| 邵东县| 舞钢市| 库车县| 嘉善县| 宜黄县| 清水河县| 安国市| 新田县| 务川| 邓州市| 冕宁县| 会同县| 准格尔旗| 潜江市| 奇台县| 张掖市| 华蓥市|