summaryrefslogtreecommitdiff
path: root/extractor/phrase.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 17:35:49 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 17:35:49 +0000
commit3219aaf89f0c08c5ac18da6338a3df87b1e5dd3f (patch)
treec1aae95dda98600758f69eea21d24086e1ccf6c3 /extractor/phrase.h
parent4a331030632d9a818f1853a5afed20b9f14e354a (diff)
Added 3 missing unit tests.
Diffstat (limited to 'extractor/phrase.h')
-rw-r--r--extractor/phrase.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/extractor/phrase.h b/extractor/phrase.h
index 8c98a025..6521c438 100644
--- a/extractor/phrase.h
+++ b/extractor/phrase.h
@@ -23,14 +23,11 @@ class Phrase {
int GetSymbol(int position) const;
- //TODO(pauldb): Unit test this method.
int GetNumSymbols() const;
- //TODO(pauldb): Add unit tests.
vector<string> GetWords() const;
- //TODO(pauldb): Add unit tests.
- int operator<(const Phrase& other) const;
+ bool operator<(const Phrase& other) const;
friend ostream& operator<<(ostream& os, const Phrase& phrase);