public void RunningDisplayConstructorTestNullSimulator()
 {
     int            windowX = 0;
     int            windowY = 0;
     Simulator      sim     = null;
     RunningDisplay target  = new RunningDisplay(windowX, windowY, sim);
 }
        public void RunningDisplayConstructorTest()
        {
            int                windowX               = 0;
            int                windowY               = 0;
            DateTime           beginTime             = DateTime.Now;
            TimeSpan           runningTime           = new TimeSpan(2, 0, 0);
            double             callArriveMultiplier  = 0.1;
            double             switchDelayMultiplier = 0.1;
            List <ProductType> productTypes          = new List <ProductType> {
                new ProductType("Test", 0.1, 0.1)
            };
            int      maxQueueLength                = 10;
            bool     singleQueueLength             = true;
            TimeSpan excessiveWaitTime             = new TimeSpan(0, 1, 0);
            Dictionary <SalesRepType, int> repNums = new Dictionary <SalesRepType, int>();

            repNums.Add(new SalesRepType("Test"), 2);
            Simulator      sim    = new Simulator(beginTime, runningTime, callArriveMultiplier, switchDelayMultiplier, productTypes, maxQueueLength, singleQueueLength, excessiveWaitTime, repNums);
            RunningDisplay target = new RunningDisplay(windowX, windowY, sim);

            Assert.IsInstanceOfType(target, typeof(RunningDisplay));
        }