Merge branch 'review/slice-2-recheck'
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # docs/phases/reviewed.md
This commit is contained in:
@@ -127,6 +127,13 @@ public class RosterGeneratorTests
|
||||
Assert.DoesNotContain(demand.Staff, opening => opening.Position == "Teacher");
|
||||
Assert.DoesNotContain(demand.Staff, opening => opening.RoomId == "computer-lab");
|
||||
Assert.Contains(demand.Staff, opening => opening.RoomId == "library" && opening.Position == "Librarian");
|
||||
|
||||
// Phase 7: homeroom captions are room numbers, not class names the generator would
|
||||
// otherwise try to parse. The map file itself is not this test's to rewrite.
|
||||
var homerooms = map.Rooms.Where(room => room.Def == "Classroom").ToArray();
|
||||
Assert.Equal(11, homerooms.Length);
|
||||
Assert.All(homerooms, room => Assert.Matches(@"^\d{3}$", room.Label));
|
||||
Assert.Contains(homerooms, room => room.Label == "204");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user