public void preamble_with_equal_lengths() { StringEqualExpect Expect = new StringEqualExpect(IgnoredBody, "Hello World", "Hello World"); Check.That(() => Expect.Preamble == "String lengths are both 11."); }
public void preamble_when_lengths_differ() { StringEqualExpect Expect = new StringEqualExpect(IgnoredBody, "Hello World", "Hello world!"); Check.That(() => Expect.Preamble == "Expected string length 12 but was 11."); }