protected override void ShouldThrowAWobbly() { var firstSet = new[] { 1.23m, 2.34m, 3.45001m }; var secondSet = new[] { 1.4301m, 2.34m, 3.45m }; firstSet.ShouldBe(secondSet, 0.1m); }
protected override void ShouldPass() { var firstSet = new[] { 1.23m, 2.34m, 3.45001m }; var secondSet = new[] { 1.2301m, 2.34m, 3.45m }; firstSet.ShouldBe(secondSet, 0.01m); }