Documentation ¶
Overview ¶
Package test contains the generic serializer tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualEncoding ¶
EqualEncoding returns whether the two Encoders `a` and `b` encode to the same byteslice or an error when the encoding failed.
func GenericBrokenPipeTest ¶
func GenericBrokenPipeTest(t *testing.T, serializers ...perunio.Serializer)
GenericBrokenPipeTest tests that encoding and decoding on broken streams fails.
func GenericSerializerTest ¶ added in v0.2.0
func GenericSerializerTest(t *testing.T, serializers ...perunio.Serializer)
GenericSerializerTest runs multiple tests to check whether encoding and decoding of serializer values works.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.