godber / pds3label

A Python module for parsing PDS 3 labels.
MIT License
0 stars 0 forks source link

Write tests to cover all float representations #11

Open godber opened 9 years ago

godber commented 9 years ago

We currently support simple float representations correctly, but do we handle all representations correctly? Only tests will tell.

https://github.com/godber/pds3label/blob/master/test/data/float1.lbl

PDS_VERSION_ID = PDS3
FLOAT1         = 0.0
FlOAT2         = 123.
FLOAT3         = +1234.56
FLOAT4         = -.9981
END