public void RemoveTest() { ResultStatus status = ResultStatus.Assert | ResultStatus.Report | ResultStatus.SyntaxError; Assert.AreEqual(ResultStatus.Assert | ResultStatus.Report | ResultStatus.SyntaxError, status); status = status.Remove(ResultStatus.Assert); Assert.AreEqual(ResultStatus.Report | ResultStatus.SyntaxError, status); status = status.Remove(ResultStatus.Report); Assert.AreEqual(ResultStatus.SyntaxError, status); status = status.Remove(ResultStatus.SyntaxError); Assert.AreEqual(ResultStatus.None, status); }