phretaddin / schemapack

Create a schema object to encode/decode your JSON in to a compact byte buffer with no overhead.
MIT License
452 stars 33 forks source link

test(ava): use ava test runner #6

Closed arnaud-dezandee closed 8 years ago

arnaud-dezandee commented 8 years ago

Hello @phretaddin,

I've refactored your test suite with ava, this detected an error with complex-array. The first field float32 get converted from 1225.2347 to 1225.2347412109375 so there is probably something to fix here. Also see #5.

Run npm install && npm test to try out

phretaddin commented 8 years ago

Hey thanks! I accepted it.