示例#1
0
        public void GenerateColorTest()
        {
            var enumValues = Enum.GetValues(typeof(EmployeePart));

            foreach (EmployeePart empPart in enumValues)
            {
                Color32 col = factory.GenerateColor(empPart);
                Assert.IsTrue(factory.GetCurrentDictionary(empPart).ContainsKey(col));
            }
        }