Exemple #1
0
        public void GetIntWithDefault()
        {
            Csc t = new Csc();

            t.Bag["Key"] = 5;

            Assert.AreEqual(5, t.GetIntParameterWithDefault("Key", 9));
        }
Exemple #2
0
        public void GetNonExistentBoolWithDefault()
        {
            Csc t = new Csc();

            Assert.AreEqual(5, t.GetIntParameterWithDefault("Key", 5));
        }