VerseGrammarTests: the shipped catalog holds eight starter verbs; combat exit asserts the Target cleared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
04516c72cf
commit
4fc225b1d5
2 changed files with 3 additions and 2 deletions
|
|
@ -656,6 +656,7 @@ public sealed class FlightTests : IDisposable
|
|||
|
||||
member.VisibleEnemies.Remove(hot);
|
||||
Tick(.1f);
|
||||
Assert.True(member.Target.Value.IsNone, "Target " + member.Target.Value.Entity);
|
||||
Assert.IsType<FollowTask>(minion.Task);
|
||||
UpdateUntil(minion, () => !(CurrentState(minion) is CombatState));
|
||||
UpdateUntil(minion, () => CurrentState(minion) is FollowState);
|
||||
|
|
|
|||
|
|
@ -301,12 +301,12 @@ public sealed class VerseGrammarTests : IDisposable
|
|||
|
||||
// The shipped catalog carries the command's output.
|
||||
[Fact]
|
||||
public void The_shipped_catalog_holds_revision_one_and_the_seven_starter_verbs()
|
||||
public void The_shipped_catalog_holds_revision_one_and_the_eight_starter_verbs()
|
||||
{
|
||||
using var cache = OpenScoped(Path.Combine(AetherDb.FindRoot(), "GameData", "Aetheria.cc"), true);
|
||||
Assert.Equal(1, cache.GetGlobal<VerseGrammar>().Revision);
|
||||
var starter = VerseGrammarCommand.StarterVerbs();
|
||||
Assert.Equal(7, starter.Length);
|
||||
Assert.Equal(8, starter.Length);
|
||||
var shipped = cache.GetAll<VerseVerb>().ToArray();
|
||||
Assert.Equal(starter.Length, shipped.Length);
|
||||
foreach (var expected in starter)
|
||||
|
|
|
|||
Loading…
Reference in a new issue