tests: videotimecode: fix floating point comparisons
authorTim-Philipp Müller <tim@centricular.com>
Sat, 24 Sep 2016 20:11:32 +0000 (21:11 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 25 Sep 2016 21:20:27 +0000 (22:20 +0100)
commitd9da603db6e4656ce9f1fd3007987d4a62eece5c
tree9a0fdc38f488bc14d0800af0395ff2cdb5eccb2c
parent7c0ec13942bc59f6da75e432f6d3429b2dd5d9c1
tests: videotimecode: fix floating point comparisons

Comparing floats for equality is not necessarily going to
work reliably, so use fail_unless_equals_float() for this.
Test would fail on x86 (Intel Atom x5-Z8300).
tests/check/libs/videotimecode.c