Esempio n. 1
0
        public void TestSongOfPiSolution(string testCase, bool expectedOutput)
        {
            // arrange
            Solutions.Implementation.SongOfPi.Solution song = new Solutions.Implementation.SongOfPi.Solution();

            // act
            bool isSongOfPi = song.IsSongOfPi(testCase);

            // assert
            NUnit.Framework.Assert.AreEqual(isSongOfPi, expectedOutput);
        }
Esempio n. 2
0
        public void TestSongOfPiSolution(string testCase, bool expectedOutput)
        {
            // arrange
            Solutions.Implementation.SongOfPi.Solution song = new Solutions.Implementation.SongOfPi.Solution();

            // act
            bool isSongOfPi = song.IsSongOfPi(testCase);

            // assert
            NUnit.Framework.Assert.AreEqual(isSongOfPi, expectedOutput);
        }