(long value)
| 169 | } |
| 170 | |
| 171 | [Theory] |
| 172 | [MemberData(nameof(VarInt64Cases))] |
| 173 | public void VarInt64RoundTrip(long value) |
| 174 | { |
| 175 | ByteWriter writer = new(); |
| 176 | writer.WriteVarInt64(value); |
| 177 | |
| 178 | ByteReader reader = new(writer.ToArray()); |
| 179 | Assert.Equal(value, reader.ReadVarInt64()); |
| 180 | Assert.Equal(0, reader.Remaining); |
| 181 | } |
| 182 | |
| 183 | [Fact] |
| 184 | public void VarUInt36SmallBoundariesAndOverflow() |
nothing calls this directly
no test coverage detected