pd_alg_lrp_test.h File Reference

Unit Tests. More...

#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::TestGeneratorGotoOneSuccessor ()
 Test if GeneratorGoto finds the right successor.
void faudes::TestGeneratorGotoNoSuccessor ()
 Test if GeneratorGoto finds no successor when none is to be found.
void faudes::TestGeneratorGotoSeqFull ()
 Test if a word fully matches a sequence of states when a match is possible.
void faudes::TestGeneratorGotoSeqPartial ()
 Test if a partial state sequence is generated when no full match for the word is possible.
void faudes::TestLrpShiftRulesNumberAndTerminals ()
 Test if the number of shift rules is correct and test for the correct number of occurences of terminals and each action's left-hand side element's right-hand side.
void faudes::TestLrpReduceRulesNumberAndTerminals ()
 Test if the number of reduce rules is correct and test for the correct number of occurences of terminals and each action element's right-hand side.
void faudes::TestLrpActions ()
 Test if Lrp generates a parser with the correct rules.
void faudes::TestLrpNonterminalsTerminals ()
 Test if Lrp generates a parser with the correct number of nonterminals and terminals for a certain grammar.
void faudes::TestGp2PpStates ()
 Test if all states are set correctly and whether the correct ones are used in transitions.
void faudes::TestGp2PpTransitions ()
 Test if the number of transitions is correct and test if the number of transitions per event is as expected.
void faudes::TestDimNoAugment ()
 Test if the augment symbol transitions were successfully removed from the generator and the new number of transitions is correct.
void faudes::TestDimNewFinalStates ()
 Test if final states are set correctly after the removal auf the augment symbol.
void faudes::TestGeneratorGoto ()
 All GeneratorGoto Tests.
void faudes::TestGeneratorGotoSeq ()
 All GeneratorGotoSeq Tests.
void faudes::TestLrpShiftRules ()
 All LrpShiftRules Tests.
void faudes::TestLrpReduceRules ()
 All LrpReduceRules Tests.
void faudes::TestLrp ()
 All Lrp Tests.
void faudes::TestGp2Pp ()
 All Gp2Pp Tests.
void faudes::TestDim ()
 All Dim Tests.

Detailed Description

Unit Tests.

Definition in file pd_alg_lrp_test.h.

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