Exemplo n.º 1
0
        public void Equals_Argument_True()
        {
            // arrange
            var a = new FieldCoordinate("abc", "def", "ghi");
            var b = new FieldCoordinate("abc", "def", "ghi");

            // act
            // assert
            Assert.True(a.Equals(b));
        }
Exemplo n.º 2
0
        public void Object_Equals_Argument_False()
        {
            // arrange
            var a = new FieldCoordinate("abc", "def", "ghi");
            var b = new FieldCoordinate("abc", "def", "xyz");

            // act
            // assert
            Assert.False(a.Equals((object)b));
        }
Exemplo n.º 3
0
        public void Equals_Field_To_Arg_False()
        {
            // arrange
            var a = new FieldCoordinate("abc", "def");
            var b = new FieldCoordinate("abc", "def", "ghi");

            // act
            // assert
            Assert.False(a.Equals(b));
        }