public void HasColor2() { ColorSet colorSet = new ColorSet(5); Assert.True(colorSet.HasColor(0)); Assert.True(!colorSet.HasColor(1)); Assert.True(colorSet.HasColor(2)); Assert.True(!colorSet.HasColor(3)); }
public void AddColor() { ColorSet colorSet = new ColorSet(6); Assert.True(!colorSet.HasColor(0)); ColorSet newColorSet = colorSet.AddColor(0); Assert.True(newColorSet.HasColor(0)); Assert.True(!colorSet.HasColor(0)); }
public void Basic() { ColorSet colorSet = new ColorSet(); Assert.True(colorSet.IsEmpty); Assert.True(!colorSet.HasColor(0)); }