static void TestMethod_Asserts_CheckAssertMessage() { Action fn = () => { throw new CoordinatePicturesTestException("test123"); }; TestUtil.AssertExceptionMessage(fn, "test123"); }
static void TestMethod_Asserts_NonEqualBoolsShouldCompareNonEqual() { TestUtil.AssertExceptionMessage(() => TestUtil.IsEq(true, false), "expected True but got False"); }
static void TestMethod_Asserts_NonEqualStrsShouldCompareNonEqual() { TestUtil.AssertExceptionMessage(() => TestUtil.IsEq("abcd", "abce"), "expected abcd but got abce"); }
static void TestMethod_Asserts_NonEqualIntsShouldCompareNonEqual() { TestUtil.AssertExceptionMessage(() => TestUtil.IsEq(1, 2), "expected 1 but got 2"); }