public void FindClaimWithoutOverlapTest() { var input = TestInput.Select(x => new Claim(x)).ToList(); Assert.AreEqual(3, Problem3.FindClaimWithoutOverlap(input, Problem3.CreateGrid(input))); }
public void CountOverlappingSquaresTest() { var grid = Problem3.CreateGrid(TestInput.Select(x => new Claim(x)).ToList()); Assert.AreEqual(4, Problem3.CountOverlappingSquares(grid)); }