public void FitWithSpace() { Assert.AreEqual(6, SoccerField.Solve(6, 14, 21)); Assert.AreEqual(6, SoccerField.Solve(6, 12, 21)); Assert.AreEqual(6, SoccerField.Solve(6, 14, 18)); Assert.AreEqual(24, SoccerField.Solve(3, 13, 19)); Assert.AreEqual(24, SoccerField.Solve(3, 12, 19)); Assert.AreEqual(24, SoccerField.Solve(3, 13, 18)); }
public void NotFitOneDimension() { Assert.AreEqual(0, SoccerField.Solve(5, 6, 3)); Assert.AreEqual(0, SoccerField.Solve(5, 2, 20)); }
public void FitWithoutSpace() { Assert.AreEqual(6, SoccerField.Solve(6, 12, 18)); Assert.AreEqual(24, SoccerField.Solve(3, 12, 18)); }
public void NotFitBothDimensions() { Assert.AreEqual(0, SoccerField.Solve(5, 4, 3)); }