Add proactive fun facts, jokes, and current location

This commit is contained in:
Jacob Dubin
2026-05-17 17:41:55 -05:00
parent 9353e8d2e3
commit 8ed4763df5
11 changed files with 441 additions and 8 deletions

View File

@@ -178,6 +178,25 @@ public sealed class LegacyMimCatalogImporterTests
reply.Contains("robot stuff", StringComparison.OrdinalIgnoreCase));
}
[Fact]
public void ImportCatalog_ImportsBuildBFunFactAndJokeResponsesIntoRandomizationBuckets()
{
var rootDirectory = Path.Combine(
AppContext.BaseDirectory,
"Content",
"LegacyMims",
"BuildB");
var catalog = LegacyMimCatalogImporter.ImportCatalog(rootDirectory);
Assert.Contains("I love jokes. Did you hear about the theater actor who fell through the floorboards? He was just going through a stage.",
catalog.Jokes);
Assert.Contains("Sure I got one. What did the zero say to the eight. Nice belt.", catalog.Jokes);
Assert.Contains("Here's an interesting fact about me. I have two cameras but they're different focal lengths. One's for far things, and the other's for near things.",
catalog.FunFacts);
Assert.Contains("True fact. Children have more taste buds than grown ups.", catalog.FunFacts);
}
[Fact]
public void ImportCatalog_ImportsBuildBRnGreetingResponsesIntoGreetingBucket()
{
@@ -465,4 +484,4 @@ public sealed class LegacyMimCatalogImporterTests
return rootDirectory;
}
}
}