LibDocument

image-alt

Document and Trie Processing.


trie.cpp File Reference

Version: 0.1.1

Trie dot cpp. More…

#include <gtest/gtest.h>
#include "trie.h"

Macros

#define LDOC_NULLTYPE   long
 
#define FLORA   1
 
#define FAUNA   2
 

Functions

 TEST (ldoc_trie, empty_trie)
 
 TEST (ldoc_trie, small_trie)
 
 TEST (ldoc_trie, lookup)
 
 TEST (ldoc_trie, lookup_prefix)
 
 TEST (ldoc_trie, remove)
 
 TEST (ldoc_trie, collect)
 

Variables

const char * entry_cat = "cat"
 
const char * entry_catnip = "catnip"
 
const char * entry_rose = "rose"
 
const char * collect_sep = ", "
 
const char * collect_entries = "cat, catnip, rose"
 

Detailed Description

Trie dot cpp.

Macro Definition Documentation

#define FAUNA   2

#define FLORA   1

#define LDOC_NULLTYPE   long

Function Documentation

TEST (ldoc_trie , empty_trie )

TEST (ldoc_trie , small_trie )

TEST (ldoc_trie , lookup )

TEST (ldoc_trie , lookup_prefix )

TEST (ldoc_trie , remove )

TEST (ldoc_trie , collect )

Variable Documentation

const char* collect_entries = "cat, catnip, rose"

const char* collect_sep = ", "

const char* entry_cat = "cat"

const char* entry_catnip = "catnip"

const char* entry_rose = "rose"