public void EnablingForceDebugStatementsEnablesAllSubOptions() { var options = new IndenterSettings { ForceDebugStatementsInColumn1 = true }; Assert.IsTrue(options.ForceDebugPrintInColumn1); Assert.IsTrue(options.ForceDebugAssertInColumn1); Assert.IsTrue(options.ForceStopInColumn1); }
public void DisablingForceDebugStatementsDisablesAllSubOptions() { var options = new IndenterSettings { ForceDebugPrintInColumn1 = true, ForceDebugAssertInColumn1 = true, ForceStopInColumn1 = true, }; options.ForceDebugStatementsInColumn1 = false; Assert.IsFalse(options.ForceDebugPrintInColumn1); Assert.IsFalse(options.ForceDebugAssertInColumn1); Assert.IsFalse(options.ForceStopInColumn1); }