public void New_AppMode_Should_Be_Debugging() { // Arrange AvailableMode mode = AvailableMode.Debug; // Act AppMode appMode = new AppMode(mode); // Assert Assert.True(appMode.IsDebugging); Assert.Equal(AvailableMode.Debug, appMode); Assert.Equal("Debug", appMode.ToString()); }
public AppMode(AvailableMode mode = AvailableMode.Debug) { _currentMode = mode; }