Example #1
0
        static void Main(string[] args)
        {
            //FizzBuzz Test
            for (int i = 1; i <= 100; i++)
            {
                Console.WriteLine(FizzBuzzCal.GetValue(i));
            }

            //First Vowel then Consonant
            string s = "javascriptloops";

            Console.WriteLine(VowelConso.GetLetter(s));


            Console.WriteLine(DemeritePoint.CalculateDemeritePoints(120));

            Console.Read();
        }
Example #2
0
 public void FizzBuzz(int n, string m)
 {
     Assert.Equal(m, FizzBuzzCal.GetValue(n));
 }