Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
voytas committed May 30, 2024
1 parent a924397 commit 835145c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Beeper.UnitTests/Readers/ByteStreamTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ public void Read_ShouldReturnCorrectNumberOfBytes()
var bytesRead = stream.Read(buffer, 0, buffer.Length);

bytesRead.Should().Be(data.Length);
buffer.Take(100).Should().BeEquivalentTo(data.Take(100));
buffer.Skip(100).Should().AllSatisfy(x => x.Should().Be(0));
}
}

0 comments on commit 835145c

Please sign in to comment.