pd_alg_nb_sub_a_test.cpp File Reference

Unit Tests. More...

#include "pd_alg_nb_sub_a_test.h"
#include "corefaudes.h"
#include "pd_include.h"
#include "pd_test_util.h"

Go to the source code of this file.

Namespaces

namespace  faudes
 

libFAUDES resides within the namespace faudes.


Functions

void faudes::TestFilterMixedGrammarSymbols ()
 Filter a nonterminal from a vector of terminals and nonterminals.
void faudes::TestFilterNothing ()
 filter from an empty word
void faudes::TestRnpp1FindSymbolsEmptySet ()
 Find an eliminable symbol with Rnpp1 and an empty set of nonterminals.
void faudes::TestRnpp1FindSymbolsNonemptySet ()
 Find an eliminable symbol with Rnpp1 and a nonempty set of nonterminals.
void faudes::TestRnpplFindSymbolsEmptySet ()
 Find all eliminable symbols with Rnppl and an empty set of nonterminals.
void faudes::TestRnpplFindSymbolsNonemptySet ()
 Find all eliminable symbolswith Rnppl and a nonempty set of nonterminals.
void faudes::TestRnpplFindSymbolsCompleteSet ()
 Find all eliminable symbols with Rnppl and a set already containing all eliminable symbols.
void faudes::TestRnppGrammar1 ()
 Remove all noneliminable nonterminals and all productions containing noneliminable nonterminals.
void faudes::TestRnppGrammar2 ()
 Remove all noneliminable nonterminals and all productions containing noneliminable nonterminals.
void faudes::TestRnppEmptyGrammar ()
 Try to remove all noneliminable nonterminals and all productions containing noneliminable nonterminals from an empty grammar.
void faudes::TestSp2LrTerminals ()
 Test if all terminals have been set correctly and match the generator's events.
void faudes::TestSp2LrNonterminals ()
 Test if all possible nonterminals were generated.
void faudes::TestSp2LrProductions ()
 Test if all expected productions for read, pop and push transitions and for the final states were generated.
void faudes::TestSp2Lr2Productions ()
 Test if all expected productions for read, pop and push transitions and for the final states were generated.
void faudes::TestRupProductions ()
void faudes::TestRupNonterminals ()
void faudes::TestFilter ()
 All Filter tests.
void faudes::TestRnpp1 ()
 All Rnpp1 tests.
void faudes::TestRnppl ()
 All Rnppl tests.
void faudes::TestRnpp ()
 All Rnpp tests.
void faudes::TestSp2Lr ()
 All Sp2Lr tests.
void faudes::TestSp2Lr2 ()
 All Sp2Lr tests.
void faudes::TestRup ()
 All Rup tests.

Detailed Description

Unit Tests.

Definition in file pd_alg_nb_sub_a_test.cpp.

libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen