Skip to content

Commit

Permalink
Add assert about alignmentScore default
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Feb 24, 2025
1 parent 77ca4af commit ff1859a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/SIL.Machine.Tests/Corpora/AlignedWordPairTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public void TryParse_Success()
Assert.That(AlignedWordPair.TryParse(alignmentString, out alignedWordPairs), Is.True);
Assert.That(alignedWordPairs, Has.Count.EqualTo(1));
Assert.That(alignedWordPairs.First().TranslationScore, Is.EqualTo(0.111111));
Assert.That(alignedWordPairs.First().AlignmentScore, Is.EqualTo(-1));
}

[Test]
Expand Down

0 comments on commit ff1859a

Please # to comment.