libfort/tests/main_test_cpp.cpp

37 lines
880 B
C++
Raw Normal View History

2018-07-25 21:37:10 +02:00
#include "tests.h"
#include <stdio.h>
#include "fort.h"
void test_cpp_table_basic(void);
2018-08-12 11:00:07 +02:00
void test_cpp_table_write(void);
2018-11-21 18:50:56 +01:00
void test_cpp_table_tbl_properties(void);
void test_cpp_table_cell_properties(void);
void test_cpp_table_text_styles(void);
2018-07-25 21:37:10 +02:00
struct test_case bb_test_suit [] = {
{"test_cpp_table_basic", test_cpp_table_basic},
2018-08-12 11:00:07 +02:00
{"test_cpp_table_write", test_cpp_table_write},
2018-11-21 18:50:56 +01:00
{"test_cpp_table_tbl_properties", test_cpp_table_tbl_properties},
{"test_cpp_table_cell_properties", test_cpp_table_cell_properties},
{"test_cpp_table_text_styles", test_cpp_table_text_styles},
2018-07-25 21:37:10 +02:00
};
int run_bb_test_suit(void)
{
int bb_n_tests = sizeof(bb_test_suit) / sizeof(bb_test_suit[0]);
run_test_suit("BLACK BOX TEST SUITE", bb_n_tests, bb_test_suit);
return 0;
}
int main(void)
{
int status = 0;
status |= run_bb_test_suit();
return status;
}