Exemple #1
0
        public void OneSimpleSyncTest()
        {
            var eightBall = new EightBall();
            var answer    = eightBall.ShouldIChangeJobSync();

            Assert.That(answer, Is.True);
        }
        public void OneSimpleSyncTest()
        {
            var eightBall = new EightBall();
            var answer = eightBall.ShouldIChangeJobSync();

            Assert.That(answer, Is.True );
        }
        public async Task<bool> OneSimpleASyncTest()
        {
            var eightBall = new EightBall();
            return await eightBall.ShouldIChangeJobASync();
            //return answer;
            //answer.Wait();

            //Assert.That(answer, Is.True);

            // why am I still here?
        }
Exemple #4
0
        public async Task <bool> OneSimpleASyncTest()
        {
            var eightBall = new EightBall();

            return(await eightBall.ShouldIChangeJobASync());

            //return answer;
            //answer.Wait();

            //Assert.That(answer, Is.True);

            // why am I still here?
        }