== How to fix it in xUnit

=== Code examples

==== Noncompliant code example

[source,csharp,diff-id=3,diff-type=noncompliant]
----
bool someResult;

Assert.Equal(false, someResult); // Noncompliant: use Assert.False
Assert.Equal(true, someResult); // Noncompliant: use Assert.True
Assert.NotEqual(false, someResult); // Noncompliant: use Assert.True
Assert.NotEqual(true, someResult); // Noncompliant: use Assert.False
----

==== Compliant solution

[source,csharp,diff-id=3,diff-type=compliant]
----
bool someResult;

Assert.False(someResult); 
Assert.True(someResult);
Assert.True(someResult);
Assert.False(someResult);
----
