Пример #1
0
    public void OverriddenEquals()
    {
        var color        = new ARGBColor(78, 123, 255, 18);
        var anotherColor = (object)new ARGBColor(78, 123, 255, 18);

        var result = color.Equals(anotherColor);

        Assert.True(result);
    }
Пример #2
0
    public void EqualityEquals()
    {
        var color        = new ARGBColor(78, 123, 255, 18);
        var anotherColor = new ARGBColor(78, 123, 255, 18);

        var result = color.Equals(anotherColor);

        Assert.True(result);
    }