コード例 #1
0
        public void ExteionEnum_TestNotMatch_True()
        {
            string[] recept = new string[] { "A", "B", "C", "F" };

            e_Test c1 = (e_Test.A | e_Test.B | e_Test.F);

            var result = c1.GetEnumString();

            Assert.AreNotEqual(recept, result);
        }
コード例 #2
0
        public void ExteionEnum_TestEmpty_True()
        {
            string[] recept = new string[] { };

            e_Test c1 = new e_Test();

            var result = c1.GetEnumString();

            Assert.AreEqual(recept, result);
        }