Skip to content

Commit

Permalink
Slight improvement in one unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
brenordv committed Dec 17, 2024
1 parent 29e49c6 commit 2c743db
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ public class GlucoseReadingTests
public void Ctor_WhenInstantiated_ShouldHaveDefaultPropertyValues()
{
//Arrange
var expectedTrend = Trend.TripleUp;
const Trend expectedTrend = Trend.TripleUp;
const long expectedReadTimestampUtc = 0;

//Act
var sut = new GlucoseReading();

//Assert
sut.Should().NotBeNull();
sut.Trend.Should().Be(expectedTrend);
sut.ReadTimestampUtc.Should().Be(expectedReadTimestampUtc);
}
Expand Down

0 comments on commit 2c743db

Please sign in to comment.