- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 43字
- 2021-06-24 18:31:54
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.
推薦閱讀
- 深入理解Android(卷I)
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- PyTorch自動駕駛視覺感知算法實戰
- Android NDK Beginner’s Guide
- Drupal 8 Module Development
- 精通Linux(第2版)
- Learning OpenStack Networking(Neutron)
- Python 3.7從入門到精通(視頻教學版)
- HTML+CSS+JavaScript編程入門指南(全2冊)
- 區塊鏈國產化實踐指南:基于Fabric 2.0
- 零基礎學C語言(第4版)
- Instant Apache Camel Messaging System
- NGUI for Unity
- SSH框架企業級應用實戰
- AngularJS UI Development