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

AssertEquality() public method

public AssertEquality ( Bitmap obj ) : void
obj Bitmap
return void
        public override void AssertEquality(Bitmap obj)
        {
            var other = obj as GGMN;
            if (this.N != other.N) {
                throw new ArgumentException (String.Format ("GNBitmap.N inequality"));
            }
            if (this.B != other.B) {
                throw new ArgumentException (String.Format ("GNBitmap.B inequality"));
            }
            Assertions.AssertIList<uint> (this.BitBlocks, other.BitBlocks, "GNBitmap.Bitmap");
            Assertions.AssertIList<uint> (this.Abs, other.Abs, "GNBitmap.Abs");
        }