Skip to content

Commit

Permalink
GSAGH-499: update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
SandeepArup committed Feb 4, 2025
1 parent 7924ac7 commit 1540eca
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,13 @@ public void ComponentShouldReturnCorrectUpperFrequency() {
[Fact]
public void ComponentShouldReportErrorIfFrequenciesAreNotCorrect() {
SetFrequency(6, 5);
Assert.Single(_component.RuntimeMessages(GH_RuntimeMessageLevel.Error));
Assert.Equal(2,_component.RuntimeMessages(GH_RuntimeMessageLevel.Error).Count);
}

[Fact]
public void ComponentShouldReportErrorIfLowerFrequencyIsEqualLowerFrequencyCorrect() {
SetFrequency(5, 5);
Assert.Equal(2, _component.RuntimeMessages(GH_RuntimeMessageLevel.Error).Count);
}

[Fact]
Expand Down

0 comments on commit 1540eca

Please sign in to comment.