public class ConnectNTest
extends java.lang.Object
The provided test suite is correct and complete. You should not need to modify it. However, you should understand it. You will need to augment or write test suites for later MPs.
Constructor and Description |
---|
ConnectNTest() |
Modifier and Type | Method and Description |
---|---|
void |
testConstructors()
Test ConnectN constructors.
|
void |
testGetAndSetBoard()
Test getting and setting the board at a specific position.
|
void |
testGetAndSetHeight()
Test simple height getters and setters.
|
void |
testGetAndSetN()
Test simple N getters and setters.
|
void |
testGetAndSetWidth()
Test simple width getters and setters.
|
void |
testStaticMethods()
Test static methods, including create and compare.
|
void |
testWinner()
Test that the game detects and returns a winner properly.
|
public void testGetAndSetWidth()
public void testGetAndSetHeight()
public void testGetAndSetN()
public void testConstructors()
public void testGetAndSetBoard()
public void testWinner()
public void testStaticMethods()