Replace selectable name sets with a country that owns names and climate presets.
Create picks a country; climate is rolled from the school seed and stored. Old Slavic saves lift as Russia. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -69,7 +69,7 @@ public class ReviewFixTests
|
||||
for (var year = 0; year < 4; year++)
|
||||
{
|
||||
var before = roster.People.ToDictionary(person => person.Id, StringComparer.Ordinal);
|
||||
roster = YearlyIntake.Apply(catalog, roster, Fixtures.SchoolSeed, "Slavic", date);
|
||||
roster = YearlyIntake.Apply(catalog, roster, Fixtures.SchoolSeed, "Russia", date);
|
||||
date = date.AddYears(1);
|
||||
|
||||
foreach (var person in roster.People)
|
||||
@@ -98,7 +98,7 @@ public class ReviewFixTests
|
||||
catalog,
|
||||
roster,
|
||||
Fixtures.SchoolSeed,
|
||||
"Slavic",
|
||||
"Russia",
|
||||
new DateTime(2012, 9, 1, 0, 0, 0, DateTimeKind.Utc));
|
||||
|
||||
// Every seat an intake fills is a first-year seat, so a brand-new family that took two or
|
||||
@@ -153,7 +153,7 @@ public class ReviewFixTests
|
||||
public void AChildOfASingleMother_StillCarriesTheFathersSurnameAndPatronymic()
|
||||
{
|
||||
var catalog = Fixtures.Catalog();
|
||||
var names = catalog.NameSets["Slavic"];
|
||||
var names = catalog.Countries["Russia"].Names;
|
||||
var roster = Fixtures.Generate(Fixtures.Classrooms(11));
|
||||
var people = roster.People.ToDictionary(person => person.Id, StringComparer.Ordinal);
|
||||
|
||||
@@ -180,7 +180,7 @@ public class ReviewFixTests
|
||||
public void ASingleMotherFamily_CanStillTakeInAYoungerSibling()
|
||||
{
|
||||
var catalog = Fixtures.Catalog();
|
||||
var names = catalog.NameSets["Slavic"];
|
||||
var names = catalog.Countries["Russia"].Names;
|
||||
var roster = Fixtures.Generate(Fixtures.Classrooms(11));
|
||||
var people = roster.People.ToDictionary(person => person.Id, StringComparer.Ordinal);
|
||||
var motherOnly = roster.Families
|
||||
|
||||
Reference in New Issue
Block a user