diff options
author | 2019-10-08 11:29:25 +0300 | |
---|---|---|
committer | 2019-10-08 11:29:25 +0300 | |
commit | 5a50d76eed4e9b4e4c86b82ee880e628ea9eb480 (patch) | |
tree | 44fcfc8a85ccf2d688cf909be7fbd39eb8ac8879 /test/float.c | |
parent | d8f2afd2f45da18950d67c240e1fb147058da995 (diff) | |
download | librin-5a50d76eed4e9b4e4c86b82ee880e628ea9eb480.tar.gz librin-5a50d76eed4e9b4e4c86b82ee880e628ea9eb480.tar.bz2 librin-5a50d76eed4e9b4e4c86b82ee880e628ea9eb480.zip |
tests: simplify file structure.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'test/float.c')
-rw-r--r-- | test/float.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/float.c b/test/float.c index 284c82a..b7ee121 100644 --- a/test/float.c +++ b/test/float.c @@ -18,8 +18,19 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include <stdlib.h> +#include <string.h> +#include <stdint.h> +#include <inttypes.h> #include "test.h" -#include "float_test_private.h" +#include "rin/float.h" + +static int rin_signbitf_test(void); +static int rin_signbitd_test(void); +static int rin_float_to_hexstring_test(void); +static int rin_double_to_hexstring_test(void); +static int rin_compare_float_test(void); +static int rin_compare_double_test(void); int float_test(char *testname) { |