Пример #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);
            }