Enhance school simulation and management by integrating roster functionality, allowing for the installation and persistence of student and staff data. Update the school architecture to include a roster alongside existing components, ensuring proper validation against map layouts. Revise room definitions to support homeroom designations and update related tests to validate new functionalities and ensure robustness in roster handling.
This commit is contained in:
@@ -106,7 +106,7 @@ public class GameSocketTests(AppHostFixture fixture)
|
||||
Assert.Equal("floor-1", office.ParentId);
|
||||
Assert.Contains("Директор", office.Positions);
|
||||
Assert.NotEmpty(office.Items);
|
||||
var classroom = Assert.Single(snapshot.Nodes, node => node.Id == "classroom-1a");
|
||||
var classroom = Assert.Single(snapshot.Nodes, node => node.Id == "classroom-101");
|
||||
Assert.Equal(16, classroom.PupilSlots);
|
||||
Assert.Contains(classroom.Items, item => item.Name == "Парта" && item.Count == 16);
|
||||
Assert.Contains(classroom.Items, item => item.Name == "Стул" && item.Count == 1);
|
||||
|
||||
Reference in New Issue
Block a user