コード例 #1
0
            public void When_ComparingToInequalPathRef(string inputA, string inputB)
            {
                PathRef pathRefA = new PathRef(inputA);
                PathRef pathRefB = new PathRef(inputB);

                Assert.That(pathRefA.Equals(pathRefB), Is.False);
            }
コード例 #2
0
            public void When_ComparingToEmptyPathRef(string inputA)
            {
                PathRef pathRefA     = new PathRef(inputA);
                PathRef emptyPathRef = new PathRef();

                Assert.That(pathRefA.Equals(emptyPathRef), Is.False);
            }
コード例 #3
0
            public void When_ComparingEmptyPathRefs()
            {
                PathRef pathRefA = new PathRef();
                PathRef pathRefB = new PathRef();

                Assert.That(pathRefA.Equals(pathRefB), Is.True);
            }