Exemple #1
0
        public void SameValueAs_ForDifferentValue_ReturnsTrue()
        {
            var sut1 = new VoyageNumber("9aA9iDDU2");
            var sut2 = new VoyageNumber("U982aJnNd");

            var actual = sut1.SameValueAs(sut2);

            Assert.IsFalse(actual);
        }
Exemple #2
0
        public void SameValueAs_ForSameValue_ReturnsTrue()
        {
            var sut1 = new VoyageNumber("9aA9iDDU2");
            var sut2 = new VoyageNumber("9aA9iDDU2");

            var actual = sut1.SameValueAs(sut2);

            Assert.IsTrue(actual);
        }