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

This commit is contained in:
biss committed 2026-08-10 16:57:10 +08:00
1 parent 031459ac80
commit fc326ac16e
3 files changed
+112 -62

No files matched your search

@@ -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,