示例#1
0
        public void TestGetEnumArrayQ2()
        {
            var d = api.GetEnumArrayQ2(new DayOfWeek[] { DayOfWeek.Monday, DayOfWeek.Sunday, DayOfWeek.Saturday });

            Assert.Equal(3, d.Length);
            Assert.Equal(DayOfWeek.Saturday, d[2]);
        }