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