public void TestWithSimplified() { var pc = new EContext(0, ERounding.HalfUp, 0, 5, true); Assert.IsFalse(pc.IsSimplified); pc = pc.WithSimplified(true); Assert.IsTrue(pc.IsSimplified); pc = pc.WithSimplified(false); Assert.IsFalse(pc.IsSimplified); }