In NUnit I am able to do the following:
Assert.That(1.05,Is.EqualTo(1.0).Within(0.1));
I am also able to do that:
Assert.That(new[]{1.0,2.0,3.0},Is.EquivalentTo(new[]{3.0,2.0,1.0}));
Now I would like to do something along these line
Assert.That(new[]{1.05,2.05,3.05},
Is.EquivalentTo(new[]{3.0,2.0,1.0}).Within(0.1));
Except the Within keyword is not supported in that situation. Is there a workaround or another approach that would allow to do that easily?