实验成绩管理改为紧凑的课程分组视图

This commit is contained in:
2026-08-10 16:57:10 +08:00 Unverified
parent 031459ac80
commit fc326ac16e
3 changed files with 112 additions and 62 deletions
@@ -198,10 +198,11 @@ public sealed class ExperimentGradesControllerTests
1,
10,
CancellationToken.None));
Assert.Equal(12, Property<int>(page.Value, "Total"));
Assert.Equal(10, Property<System.Collections.IEnumerable>(
page.Value,
"Items").Cast<object>().Count());
Assert.Equal(1, Property<int>(page.Value, "Total"));
var course = Assert.Single(Property<System.Collections.IEnumerable>(
page.Value, "Items").Cast<object>());
Assert.Equal(12, Property<System.Collections.IEnumerable>(
course, "Projects").Cast<object>().Count());
var filtered = Assert.IsType<OkObjectResult>(await controller.GetManagement(
null,