ShouldBe
Objects
var theSimpsonsCat = new Cat { Name = "Santas little helper" };
theSimpsonsCat.Name.ShouldBe("Snowball 2");theSimpsonsCat.Name
should be
"Snowball 2"
but was
"Santas little helper"
difference
Expected: "Snowball 2"
Actual: "Santas little helper"Numeric
const decimal pi = (decimal)Math.PI;
pi.ShouldBe(3.24m, 0.01m);DateTime(Offset)
TimeSpan
Enumerables
Enumerables of Numerics
Bools
Last updated