Exemple #1
0
        public void ReplShouldCalculateBasketTotal()
        {
            var input   = new MockInput();
            var service = new MockService();
            var repl    = new REPL(input, service);

            var total = repl.Run();

            Assert.AreEqual(8M, total);
        }
Exemple #2
0
        static void Main(string[] args)
        {
            REPL repl = new REPL();

            repl.Run();
        }