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]); }