public void TestOrder1() { var a = UInt64Serializer.ToDatabase(0); var b = UInt64Serializer.ToDatabase(1); a.Should().BeLessThan(b); }
public void TestOrder4() { var a = UInt64Serializer.ToDatabase(0); var b = UInt64Serializer.ToDatabase(ulong.MaxValue); a.Should().BeLessThan(b); }
public void TestRoundtrip([ValueSource(nameof(Values))] ulong value) { var actualValue = UInt64Serializer.FromDatabase(UInt64Serializer.ToDatabase(value)); actualValue.Should().Be(value); }