我正在尝试使用Fluent断言来验证投影到自己轴上的向量是否近似于v.Length()或-v.Length()。
我可以断言这个投影是近似的:result.Should().BeApproximately(v.Length())
我如何将这两者结合起来呢?
发布于 2013-08-17 03:25:03
为什么不使用result.Should().BeApproximately(v.Length()).And.BeApproximately(-v.Length())?
https://stackoverflow.com/questions/18274410
复制相似问题