Beispiel #1
0
        static void Main(string[] args)
        {
            var app = new FizzbuzzLibrary.Fizzbuzz(new ConsoleWritter(),
               new KeyValuePair<int, string>(3, "Fizz"),
               new KeyValuePair<int, string>(5, "Buzz"));

            app.Run(-100,100);
            System.Console.Read();
        }
Beispiel #2
0
 public FizzbuzzTest()
 {
     _sut = new Fizzbuzz(_mock.Object, new KeyValuePair<int, string>(3, "Fizz"), new KeyValuePair<int, string>(5, "Buzz"));
 }