Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C#で単体テストを書いています。 ShouldBeEquivalentToは正の場合には意味がありますが、負の場合には何を使用しますか> のようなものは見つかりませんでしShouldNotBeEquivalentToた。
ShouldBeEquivalentTo
ShouldNotBeEquivalentTo
It doesn't exist. The best you can do is to wrap the call to ShouldBeEquivalentTo and catch the AssertFailedException. You could create an extension method for that.
AssertFailedException