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
commitfa9a4f72cb1fc8de823a11db4e510fccbe1c3532 (patch)
tree4aaf11038e8c91e5903d06c6f6e81239476c6f91 /extractor/phrase.h
parentde708edda64bf210f99a85deba9fe35af41856b0 (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);