natix.CompactDS.SortedList.AssertEquality C# (CSharp) Method

AssertEquality() public method

public AssertEquality ( Bitmap _other ) : void
_other Bitmap
return void
        public override void AssertEquality(Bitmap _other)
        {
            var other = (SortedList)_other;
            if (this.N != other.N) {
                throw new ArgumentException ("Parameter PlainSortedList.N have differences");
            }
            Assertions.AssertIList<int> (this.sortedList, other.sortedList, "PlainSortedList.sortedList");
        }