public void ActivateOverlayFlag_WhenOverlayIsSet() { // Arrange var output = new SingleNumberOutput(); // Act output.SetOverlay("test"); // Assert output.IsTemporaryOverlay.Should().Be(true); }
public void SetOverlayToFalse_WhenResultIsSet() { // Arrange var output = new SingleNumberOutput(); // Act output.SetOverlay("test"); output.SetResult("123"); // Assert output.IsTemporaryOverlay.Should().Be(false); }
public void SetOverlayToFalse_WhenFormulaIsUpdated() { // Arrange var output = new SingleNumberOutput(); // Act output.SetOverlay("test"); output.SetFormula("123"); // Assert output.IsTemporaryOverlay.Should().Be(false); }