Example #1
0
        public void ReturnsFalse_WhenCheckingEqualityForIneequivalentPaths()
        {
            AbsolutePath a = "c:\\folder\\file.ext";
            AbsolutePath b = "c:\\folder\\other.ext";

            bool result = a.Equals(b);

            result.Should().BeFalse();
        }
Example #2
0
        public void SupportsEquals(string aa, string bb, bool expected)
        {
            AbsolutePath a = aa;
            AbsolutePath b = bb;

            bool result = a.Equals(b);

            result.Should().Be(expected);
        }