Skip to content

Commit

Permalink
Fixes to test --ECL
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Sep 12, 2023
1 parent 3475f0f commit 6716915
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ await env.TruecaserTrainer
await env.TruecaserTrainer.Received().SaveAsync(Arg.Any<CancellationToken>());
engine = env.Engines.Get("engine1");
Assert.That(engine.BuildState, Is.EqualTo(BuildState.None));
Assert.That(engine.BuildRevision, Is.EqualTo(1));
Assert.That(engine.BuildRevision, Is.EqualTo(2)); //For testing purposes BuildRevision was initially set to 1 (i.e., an already built engine), so now it ought to be 2
// check if SMT model was reloaded upon first use after training
env.SmtModel.ClearReceivedCalls();
await env.Service.TranslateAsync("engine1", n: 1, "esto es una prueba.");
Expand Down

0 comments on commit 6716915

Please sign in to comment.