public void EndProgramExceptionWithMessageExceptionTest() { var e = new EndProgramException("It went wrong"); Assert.IsTrue(e.Id == EndProgramException.EndProgram); Assert.IsTrue(e.Message == "It went wrong"); Assert.IsTrue(e.ToString() == "It went wrong"); }
public void EndProgramExceptionBasicExceptionTest() { var e = new EndProgramException(); Assert.IsTrue(e.Id == EndProgramException.EndProgram); Assert.IsTrue(e.Message == "End Program invoked"); Assert.IsTrue(e.ToString() == "End Program invoked"); }