public void SampleThreeGivesExpectedOutput() { var floodFiller = new FloodFiller(SampleInputs.SampleThree); var output = floodFiller.Fill(new Point(1, 7), '#', true); Assert.That(output, Is.EqualTo(SampleInputs.OutputThree)); }
public void SampleOneGivesExpectedOutput() { var floodFiller = new FloodFiller(SampleInputs.SampleOne); var output = floodFiller.Fill(new Point(2, 2), '@', false); Assert.That(output, Is.EqualTo(SampleInputs.OutputOne)); }
public void SampleTwoGivesExpectedOutput() { var floodFiller = new FloodFiller(SampleInputs.SampleTwo); var output = floodFiller.Fill(new Point(8, 3), ',', false); Assert.That(output, Is.EqualTo(SampleInputs.OutputTwo)); }