Beispiel #1
0
        public void SuccessTest()
        {
            var c = new xUnitTest.Class1();

            c.Success();
        }
Beispiel #2
0
        public void BoolSuccessTest()
        {
            var c = new xUnitTest.Class1();

            Assert.True(c.BoolExec(true));
        }
Beispiel #3
0
        public void BoolFailTest()
        {
            var c = new xUnitTest.Class1();

            Assert.False(c.BoolExec(true));
        }
Beispiel #4
0
        public void ThrowTest()
        {
            var c = new xUnitTest.Class1();

            Assert.Throws <Exception>(() => c.Throw());
        }