Esempio n. 1
0
 [InlineAutoData("Rarity: " + "\n" + "--------" + "\n" + "--------")]     // Do it with linux and windows line endings just in case.
 public void Item_checker_allows_good_text(string testText, ItemTextChecker sut)
 {
     sut.LooksLikeGameText(testText).Should().BeTrue();
 }
Esempio n. 2
0
 [InlineAutoData("Rarity: " + "\r\n" + "--------")] // This example very close to the loose heuristic we use so should fail
 public void Item_checker_ignores_bad_text(string testText, ItemTextChecker sut)
 {
     sut.LooksLikeGameText(testText).Should().BeFalse();
 }