Example #1
0
        public void When_ACellIsCheckedAgainst_ANonMatchingValue_CellIsFlaggedAs_Fail()
        {
            var cell = new TableCell("that");

            cell.CompareWith("this");

            Assert.That(cell.ToString(), Is.EqualTo("fail: Expected:that Actual:this"));
        }
Example #2
0
        public void When_ACellIsCheckedAgainst_AMatchingValue_CellIsFlaggedAs_Pass()
        {
            var cell = new TableCell("this");

            cell.CompareWith("this");

            Assert.That(cell.ToString(), Is.EqualTo("pass"));
        }