Last active
February 19, 2022 20:55
-
-
Save aallbrig/477a3477879b66fd11ce03fb2fd6ab44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class VanillaCSharpUnitTests | |
{ | |
[Test] | |
public void Inverter_ReturnSuccess_WhenChildFails() | |
{ | |
var spy = new BehaviorSpy(() => Behavior.Status.Failure); | |
var sut = new Inverter(spy); | |
BehaviorTestHarness.RunToComplete(sut); | |
Assert.AreEqual(Behavior.Status.Success, sut.CurrentStatus); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment