public void GivenTwoEmptyInstancesThenInEqualityIsNegative()
        {
            var first  = new EmptyValue();
            var second = new EmptyValue();

            Assert.False(first != second);
            Assert.False(second != first);
        }
Beispiel #2
0
        public void GivenTwoEmptyInstancesThenEqualityIsPositive()
        {
            var first  = new EmptyValue();
            var second = new EmptyValue();

            Assert.NotSame(first, second);
            Assert.Equal(first, second);
            Assert.True(first == second);
            Assert.True(first.Equals(second));
            Assert.True(second == first);
        }