예제 #1
0
        public void TestTrippletHash()
        {
            Hashtable tripplets = HSSFColor.GetTripletHash();

            Assert.AreEqual(
                typeof(HSSFColor.MAROON),
                tripplets[HSSFColor.MAROON.hexString].GetType()
                );
            Assert.AreEqual(
                typeof(HSSFColor.YELLOW),
                tripplets[HSSFColor.YELLOW.hexString].GetType()
                );
        }
예제 #2
0
        public void TestTrippletHash()
        {
            Dictionary <object, object> tripplets = HSSFColor.GetTripletHash();

            Assert.AreEqual(
                typeof(HSSFColor.Maroon),
                tripplets[HSSFColor.Maroon.HexString].GetType()
                );
            Assert.AreEqual(
                typeof(HSSFColor.Yellow),
                tripplets[HSSFColor.Yellow.HexString].GetType()
                );
        }
예제 #3
0
        public void TestTrippletHash()
        {
            Hashtable tripplets = HSSFColor.GetTripletHash();

            Assert.AreEqual(
                typeof(HSSFColor.Maroon),
                tripplets[HSSFColor.Maroon.HexString].GetType()
                );
            Assert.AreEqual(
                typeof(HSSFColor.Yellow),
                tripplets[HSSFColor.Yellow.HexString].GetType()
                );
        }