FloodFillerTests SettingColorToSameColorLeavesItUnchanged 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 SettingColorToSameColorLeavesItUnchanged()
Examples

[Test]
public void SettingColorToSameColorLeavesItUnchanged()
{
    floodFiller.SetColor(1, 1, Color.Red);
    floodFiller.SetColor(1, 1, Color.Red);
    Assert.AreEqual(Color.Red, colors[1, 1]);
    Assert.AreEqual(0, floodFiller.ProcessedCount);
}
See Also