Add a test checking the size in the roundtrip serialization tests

This commit is contained in:
Adithya Kumar 2023-08-29 18:37:33 +05:30
parent 5fef84310e
commit 1d0e20c9d3

View File

@ -69,6 +69,7 @@ roundtrip val = do
(off2, val2) <- Serialize.deserialize 0 arr sz
val2 `shouldBe` val
off2 `shouldBe` off1
off2 `shouldBe` sz
testSerializeList
:: forall a. (Eq a, Show a, Serialize.Serialize a)