47degrees / helios

A purely functional JSON library for Kotlin built on Λrrow
https://47degrees.github.io/helios/
Apache License 2.0
169 stars 22 forks source link

Add tests for all instances #96

Closed AdrianRaFo closed 5 years ago

AdrianRaFo commented 5 years ago

Add tests for all the encoders and decoders instances

47degdev commented 5 years ago

Hood benchmark comparison: :warning: Decoding (Threshold: 274.4628279197883)

Benchmark Value
master_benchmark 11208.236730685354
helios_benchmark 11091.190549466652

:warning: Decodingfromraw (Threshold: 250.0)

Benchmark Value
master_benchmark 7288.63892903214
helios_benchmark 7232.693583548187

:warning: Parsing (Threshold: 250.0)

Benchmark Value
master_benchmark 21837.461166064964
helios_benchmark 21758.677046708508
nomisRev commented 5 years ago

These are all sunny day scenarios, should we also add some tests that check the errors?