encoding/gob — validation proof

Go’s own encoding/gob test suite, converted to C# by go2cs, built against the converted standard library, run under the Go-semantics test host, and compared verdict for verdict against a clean go test -json baseline of the same sources. This page is generated by the converter from that comparison — it is the evidence behind the encoding/gob row in Validated Test Packages.

Validated 2026-08-25 · converter bcfa22b54

106 matched · 0 disclosed — Go 1.23.12, windows/amd64, converted package src/core/encoding/gob.

Both runtimes skip 5 of the matched tests identically.

Verdicts

Test go test go2cs
Test29ElementSlice pass pass
TestArray pass pass
TestArrayType pass pass
TestAutoIndirection pass pass
TestBadCount pass pass
TestBadData pass pass
TestBadRecursiveType pass pass
TestBasic pass pass
TestBasicEncoderDecoder pass pass
TestCatchInvalidNilValue pass pass
TestChanFuncIgnored pass pass
TestCountDecodeMallocs skip skip
TestCountEncodeMallocs skip skip
TestDebugSingleton pass pass
TestDebugStruct pass pass
TestDecodeErrorMultipleTypes pass pass
TestDecodeIntoNothing pass pass
TestDecodePartial pass pass
TestDecoderOverflow pass pass
TestDefaultsInArray pass pass
TestEncodeIntSlice pass pass
TestEncodeIntSlice/int16 pass pass
TestEncodeIntSlice/int32 pass pass
TestEncodeIntSlice/int64 pass pass
TestEncodeIntSlice/int8 pass pass
TestEncoderDecoder pass pass
TestEndToEnd pass pass
TestErrorForHugeSlice pass pass
TestErrorInvalidTypeId pass pass
TestFuzz skip skip
TestFuzzOneByte skip skip
TestFuzzRegressions skip skip
TestGobEncodeIsZero pass pass
TestGobEncodePtrError pass pass
TestGobEncoderArrayField pass pass
TestGobEncoderExtraIndirect pass pass
TestGobEncoderField pass pass
TestGobEncoderFieldTypeError pass pass
TestGobEncoderFieldsOfDifferentType pass pass
TestGobEncoderIgnoreNilEncoder pass pass
TestGobEncoderIgnoreNonStructField pass pass
TestGobEncoderIgnoreStructField pass pass
TestGobEncoderIndirectArrayField pass pass
TestGobEncoderIndirectField pass pass
TestGobEncoderNonStructSingleton pass pass
TestGobEncoderPointerThenValue pass pass
TestGobEncoderStructSingleton pass pass
TestGobEncoderValueEncoder pass pass
TestGobEncoderValueField pass pass
TestGobEncoderValueThenPointer pass pass
TestGobMapInterfaceEncode pass pass
TestGobPtrSlices pass pass
TestIgnoreDepthLimit pass pass
TestIgnoreInterface pass pass
TestIgnoreRecursiveType pass pass
TestIgnoredFields pass pass
TestIndirectSliceMapArray pass pass
TestIntCodec pass pass
TestInterface pass pass
TestInterfaceBasic pass pass
TestInterfaceIndirect pass pass
TestInterfacePointer pass pass
TestLargeSlice pass pass
TestLargeSlice/byte pass pass
TestLargeSlice/int8 pass pass
TestLargeSlice/string pass pass
TestLargeSlice/struct pass pass
TestLocalRemoteTypesMismatch pass pass
TestMapBug1 pass pass
TestMapType pass pass
TestMarshalFloatMap pass pass
TestMultipleEncodingsOfBadType pass pass
TestNestedInterfaces pass pass
TestNesting pass pass
TestNetIP pass pass
TestNilPointerInsideInterface pass pass
TestNilPointerPanics pass pass
TestOverflow pass pass
TestPtrToMapOfMap pass pass
TestPtrTypeToType pass pass
TestRecursiveMapType pass pass
TestRecursiveSliceType pass pass
TestRegistration pass pass
TestRegistrationNaming pass pass
TestReorderedFields pass pass
TestReregistration pass pass
TestScalarDecInstructions pass pass
TestScalarEncInstructions pass pass
TestSequentialDecoder pass pass
TestSingletons pass pass
TestSlice pass pass
TestSliceIncompatibility pass pass
TestSliceReusesMemory pass pass
TestSliceType pass pass
TestStressParallel pass pass
TestStructNonStruct pass pass
TestStructType pass pass
TestTopLevelNilPointer pass pass
TestTypeRace pass pass
TestTypeToPtrPtrPtrPtrType pass pass
TestTypeToPtrType pass pass
TestUintCodec pass pass
TestUnexportedFields pass pass
TestUnsupported pass pass
TestValueError pass pass
TestWrongTypeDecoder pass pass

Excluded declarations

Declarations filtered from both sides of the comparison, and therefore not claimed above: Benchmark, Fuzz and Example declarations the converted host does not execute, plus any test requiring a capability the managed runtime does not provide — a testing member the host has not implemented, or a platform behavior it provably cannot reproduce. Each is named with the capability it needs.