public void RunTest01() { ZeroMatrix test = new ZeroMatrix(Test01Matrix); var result = test.Run(); CollectionAssert.AreEqual(result, Test01Result, new CollectionAssertComperator()); }
public void ZeroMatrixTest() { var input = TestHelpers.BuildJaggedGridFive(); var result = ZeroMatrix.Run(input); Assert.Equal("1004000090060000", TestHelpers.ToString(result)); var inputTwo = TestHelpers.BuildJaggedGridSix(); var resultTwo = ZeroMatrix.Run(inputTwo); Assert.Equal("000000000", TestHelpers.ToString(resultTwo)); var inputThree = TestHelpers.BuildJaggedGridSeven(); var resultThree = ZeroMatrix.Run(inputThree); Assert.Equal("120400009806", TestHelpers.ToString(resultThree)); }