2015-09-14 17:09:12 +08:00
|
|
|
/****************************************************************************
|
|
|
|
** gmio
|
|
|
|
** Copyright Fougue (2 Mar. 2015)
|
|
|
|
** contact@fougue.pro
|
|
|
|
**
|
|
|
|
** This software is a reusable library whose purpose is to provide complete
|
|
|
|
** I/O support for various CAD file formats (eg. STL)
|
|
|
|
**
|
|
|
|
** This software is governed by the CeCILL-B license under French law and
|
|
|
|
** abiding by the rules of distribution of free software. You can use,
|
|
|
|
** modify and/ or redistribute the software under the terms of the CeCILL-B
|
|
|
|
** license as circulated by CEA, CNRS and INRIA at the following URL
|
|
|
|
** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html".
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#include "utest_lib.h"
|
|
|
|
|
2015-09-14 17:10:19 +08:00
|
|
|
const char* test_stl_internal__rw_common();
|
|
|
|
|
2015-12-10 01:51:03 +08:00
|
|
|
const char* test_stl_infos();
|
2016-01-26 18:50:29 +08:00
|
|
|
|
2015-09-14 17:09:12 +08:00
|
|
|
const char* test_stl_read();
|
2015-12-10 01:51:03 +08:00
|
|
|
const char* test_stla_write();
|
2015-09-14 17:09:12 +08:00
|
|
|
const char* test_stlb_write_header();
|
|
|
|
const char* test_stlb_write();
|
|
|
|
|
2016-01-26 18:50:29 +08:00
|
|
|
const char* test_stlb_header_str();
|
|
|
|
const char* test_stlb_header_to_printable_str();
|
|
|
|
|
2015-09-14 17:09:12 +08:00
|
|
|
const char* all_tests()
|
|
|
|
{
|
|
|
|
UTEST_SUITE_START();
|
|
|
|
|
2015-09-14 17:10:19 +08:00
|
|
|
UTEST_RUN(test_stl_internal__rw_common);
|
|
|
|
|
2015-12-10 01:51:03 +08:00
|
|
|
UTEST_RUN(test_stl_infos);
|
2015-09-14 17:09:12 +08:00
|
|
|
UTEST_RUN(test_stl_read);
|
2015-12-10 01:51:03 +08:00
|
|
|
UTEST_RUN(test_stla_write);
|
2015-09-14 17:09:12 +08:00
|
|
|
UTEST_RUN(test_stlb_write_header);
|
|
|
|
UTEST_RUN(test_stlb_write);
|
2016-01-26 18:50:29 +08:00
|
|
|
UTEST_RUN(test_stlb_header_str);
|
|
|
|
UTEST_RUN(test_stlb_header_to_printable_str);
|
2015-09-14 17:09:12 +08:00
|
|
|
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
UTEST_MAIN(all_tests)
|