コード例 #1
0
        static void Main(string[] args)
        {
            // Here the test fails. The player has no health when born!
            PlayerTests playerTests = new PlayerTests();
            Console.WriteLine("Test Player Is Alive When Born:");
            Console.WriteLine("Passed: " + playerTests.TestPlayerIsAliveWhenBorn().ToString());

            Console.ReadKey();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            // Here the test fails. The player has no health when born!
            PlayerTests playerTests = new PlayerTests();

            Console.WriteLine("Test Player Is Alive When Born:");
            Console.WriteLine("Passed: " + playerTests.TestPlayerIsAliveWhenBorn().ToString());

            Console.ReadKey();
        }