Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public async Task TestServiceAsync(int x, int y)
var calculator = _fixture.GetService<ICalculator>(_testOutputHelper)!;
var calculatedValue = await calculator.AddAsync(x, y);
var expected = _options.Rate * (x + y);
Assert.True(expected == calculatedValue);
Assert.Equal(expected, calculatedValue);
}

[Theory]
Expand All @@ -27,6 +27,6 @@ public async Task TestScopedServiceAsync(int x, int y)
var calculator = _fixture.GetScopedService<ICalculator>(_testOutputHelper)!;
var calculatedValue = await calculator.AddAsync(x, y);
var expected = _options.Rate * (x + y);
Assert.True(expected == calculatedValue);
Assert.Equal(expected, calculatedValue);
}
}