libtld 1.2.0

tld_internal_test.c File Reference

#include "tld.c"
#include "tld_data.c"
#include <stdlib.h>
#include <string.h>
Include dependency graph for tld_internal_test.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
void test_compare ()
void test_search ()
void test_search_all ()
void test_search_array (int start, int end)

Variables

int err_count = 0

Function Documentation

int main ( int  argc,
char *  argv[] 
)
void test_compare ( )

Definition at line 29 of file tld_internal_test.c.

References cmp(), and err_count.

Referenced by main().

void test_search ( )

Definition at line 81 of file tld_internal_test.c.

References err_count, and search().

Referenced by main().

void test_search_all ( )

Definition at line 191 of file tld_internal_test.c.

References test_search_array(), tld_end_offset, and tld_start_offset.

Referenced by main().

void test_search_array ( int  start,
int  end 
)

Definition at line 168 of file tld_internal_test.c.

References err_count, search(), and tld_descriptions.

Referenced by test_search_all().


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

This document is part of the libtld Project.

Copyright by Made to Order Software Corp.