c# - Assert that a float is approximate to one of several values -
i'm trying use fluent assertions verify vector projected onto own axis approximate either v.length() or -v.length().
i can assert projection approximate: result.should().beapproximately(v.length())
or can assert projection 1 of several results: result.should().beoneof(v.length(), -v.length())
how can combine two?
why not result.should().beapproximately(v.length()).and.beapproximately(-v.length())?
Comments
Post a Comment