Beispiel #1
0
        public void ShouldBeNotEqualIfValueIsNotEqual()
        {
            var sut   = new GID(TestGID1);
            var other = new GID(TestGID2);

            sut.Equals(other).ShouldBeFalse();
        }
Beispiel #2
0
        public void ShouldBeNotEqualIfValueIsNull()
        {
            var sut   = new GID(TestGID1);
            GID other = null;

            sut.Equals(other).ShouldBeFalse();
        }
Beispiel #3
0
        public void ShouldBeEqualIfValueIsEqual()
        {
            var sut   = new GID(TestGID1);
            var other = new GID(TestGID1);

            sut.Equals(other).ShouldBeTrue();
        }