public void No_highlights_added_for_no_matches() { // When box.Text = "MISS, MISS, MISS"; // Then Highlights.Should().BeEmpty(); }
public void Highlights_are_added_for_multiple_matches() { // When box.Text = "MISS, HIT, MISS, HIT, HIT, MISS"; // Then Highlights.Should().HaveCount(3); }
public void A_highlight_is_added_for_a_match_even_with_whitespace() { // When box.Text = " HIT \r\n\t ,MISS,MISS"; // Then Highlights.Should().HaveCount(1); }
public void Highlights_are_updated_when_text_is_changed() { // Given box.Text = "MISS, HIT"; Highlights.Should().HaveCount(1); //When box.Text = "MISS, MISS "; // Then Highlights.Should().HaveCount(0); }