GenSVM
Functions
test_gensvm_strutil.c File Reference

Unit tests for gensvm_strutil.c functions. More...

#include "minunit.h"
#include "gensvm_strutil.h"
Include dependency graph for test_gensvm_strutil.c:

Go to the source code of this file.

Functions

char * test_str_startswith ()
 
char * test_str_endswith ()
 
char * test_get_line ()
 
char * test_next_line ()
 
char * test_get_fmt_double ()
 
char * test_get_fmt_long ()
 
char * test_all_doubles_str ()
 
char * test_all_longs_str ()
 
char * all_tests ()
 
 RUN_TESTS (all_tests)
 

Detailed Description

Unit tests for gensvm_strutil.c functions.

Author
G.J.J. van den Burg
Date
2016-05-01

This file is part of GenSVM.

GenSVM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

GenSVM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GenSVM. If not, see http://www.gnu.org/licenses/.

Definition in file test_gensvm_strutil.c.

Function Documentation

◆ all_tests()

char* all_tests ( )

Definition at line 272 of file test_gensvm_strutil.c.

Here is the call graph for this function:

◆ RUN_TESTS()

RUN_TESTS ( all_tests  )

◆ test_all_doubles_str()

char* test_all_doubles_str ( )

Definition at line 180 of file test_gensvm_strutil.c.

Here is the call graph for this function:

◆ test_all_longs_str()

char* test_all_longs_str ( )

Definition at line 226 of file test_gensvm_strutil.c.

Here is the call graph for this function:

◆ test_get_fmt_double()

char* test_get_fmt_double ( )

Definition at line 110 of file test_gensvm_strutil.c.

Here is the call graph for this function:

◆ test_get_fmt_long()

char* test_get_fmt_long ( )

Definition at line 143 of file test_gensvm_strutil.c.

Here is the call graph for this function:

◆ test_get_line()

char* test_get_line ( )

Definition at line 48 of file test_gensvm_strutil.c.

Here is the call graph for this function:

◆ test_next_line()

char* test_next_line ( )

Definition at line 79 of file test_gensvm_strutil.c.

Here is the call graph for this function:

◆ test_str_endswith()

char* test_str_endswith ( )

Definition at line 39 of file test_gensvm_strutil.c.

Here is the call graph for this function:

◆ test_str_startswith()

char* test_str_startswith ( )

Definition at line 30 of file test_gensvm_strutil.c.

Here is the call graph for this function: