FloodFillerTests SettingColorWhenBoardIsSplitChangesOnlyPart Method Delta Engine Documentation

Namespace: Drench.Tests
Assembly: Drench.Tests (in Drench.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void SettingColorWhenBoardIsSplitChangesOnlyPart()
Examples

[Test]
public void SettingColorWhenBoardIsSplitChangesOnlyPart()
{
    SetFirstThreeColumnsToBlue();
    floodFiller.SetColor(1, 1, Color.Red);
    AssertFirstThreeColumnsAreRed();
    AssertRestOfTheColumnsAreBlack();
    Assert.AreEqual(12, floodFiller.ProcessedCount);
}
See Also