go-faster/jx

test: cleanup

tdakkota opened this issue · 0 comments

  • Use Go test naming convention (TestDecoder_Skip instead of Test_skip)
  • Unify benchmarks and delete duplicates (BenchmarkValid vs BenchmarkSkip)
  • Populate testdata with different cases (real world objects, big array of primitives, use some benchmark sets)
    • #12 (added floats.json)
    • #15 (added small/medium/large/etc)
    • #18 (added bools.json and nulls.json)
    • e00d36c (added corpus from JSONTestSuite)
  • Use table tests, generate cases for in-memory and streaming decoding