Created
November 5, 2009 03:53
-
-
Save carylee/226694 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trie::~Trie() | |
{ | |
--nodeCount; | |
for (std::vector<Trie*>::iterator it = nextLetter.begin(); it < nextLetter.end(); it++) { | |
if (word) { | |
std::cout << *word << std::endl; | |
//--nodeCount; | |
//delete word; | |
} | |
delete *it; | |
} | |
} | |
Running tool: Make | |
rm -f *.o Boggle2.exe | |
g++ -c -g -Wall -I/usr/local/include boggle.cpp -o boggle.o | |
g++ -c -g -Wall -I/usr/local/include tests.cpp -o tests.o | |
g++ -c -g -Wall -I/usr/local/include trie.cpp -o trie.o | |
g++ -L/usr/local/lib/UnitTest++ boggle.o tests.o trie.o -o Boggle2.exe -lUnitTest++ | |
tests.cpp:11: error: Failure in boggleSize: Expected 113809 but was 4 | |
aa | |
aah | |
aah | |
tests.cpp:72: error: Failure in pesa: Expected 14 but was 0 | |
tests.cpp:73: error: Failure in pesa: expected == results | |
aa | |
aah | |
aah | |
tests.cpp:89: error: Failure in mmgeuskde: Expected 37 but was 0 | |
tests.cpp:90: error: Failure in mmgeuskde: expected == results | |
aa | |
aah | |
aah | |
Grid agtnfmwen 0 solutions, Average Length of answer 0, Average Time 0 | |
Grid phhnlptra 0 solutions, Average Length of answer 0, Average Time 0 | |
Grid eegtepdsl 0 solutions, Average Length of answer 0, Average Time 0 | |
Grid woiiooedu 0 solutions, Average Length of answer 0, Average Time 0 | |
aa | |
aah | |
aah | |
FAILURE: 3 out of 7 tests failed (5 failures). | |
Test time: 0.00 seconds. | |
Exited: 1280 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment