Beispiel #1
0
        public void StatCalc_Maxvalue_Command_Returns_MaxValueCalc()
        {
            iStatCalc actualClass = new StatCalcFactory().GetInstance("maxvalue");

            Assert.IsInstanceOfType(actualClass, typeof(MaxValueCalc));
        }
Beispiel #2
0
        public void StatCalc_Average_Command_Returns_AverageCalc()
        {
            iStatCalc actualClass = new StatCalcFactory().GetInstance("average");

            Assert.IsInstanceOfType(actualClass, typeof(AverageCalc));
        }
Beispiel #3
0
        public void StatCalc_Minvalue_Case_Insensitive_Command_Returns_MinValueCalc()
        {
            iStatCalc actualClass = new StatCalcFactory().GetInstance("MiNvalue");

            Assert.IsInstanceOfType(actualClass, typeof(MinValueCalc));
        }