public void AddingMoreThan13MarkersThrowsException() { MarkerStack playerMarkerStack = MarkerStack.PlayerMarkerStack(); playerMarkerStack.addMarkers(13); playerMarkerStack.addMarkers(1); }
public void AddingUpTo13MarkersToEmptyStackIsOk() { MarkerStack playerMarkerStack = MarkerStack.PlayerMarkerStack(); playerMarkerStack.addMarkers(1); playerMarkerStack.addMarkers(4); playerMarkerStack.addMarkers(5); playerMarkerStack.addMarkers(3); Assert.AreEqual(13, playerMarkerStack.Count()); }
public void AddingMoreThan13MarkersDoesNotChangeTheCounter() { MarkerStack playerMarkerStack = MarkerStack.PlayerMarkerStack(); try { playerMarkerStack.addMarkers(13); playerMarkerStack.addMarkers(1); } catch (ArgumentOutOfRangeException exArg) { Assert.AreEqual(13, playerMarkerStack.Count()); } }