summaryrefslogtreecommitdiff
path: root/extractor/translation_table_test.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-05-23 20:42:26 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-05-23 20:42:26 +0100
commit4ab38fecf0f49c5132a5d5ea748d03e0acfa36c2 (patch)
tree8e250d99f4a381eae865a15b6eb43b0f77b68479 /extractor/translation_table_test.cc
parent35d2c095ba6a912272f2fcc8322ece4213ada82b (diff)
parent1d96c9c9c521edfca1d10e4d8c5064f79fda3ec5 (diff)
Merge branch 'master' of github.com:pauldb89/cdec
Diffstat (limited to 'extractor/translation_table_test.cc')
-rw-r--r--extractor/translation_table_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/extractor/translation_table_test.cc b/extractor/translation_table_test.cc
index 051b5715..d14f2f89 100644
--- a/extractor/translation_table_test.cc
+++ b/extractor/translation_table_test.cc
@@ -55,12 +55,12 @@ TEST(TranslationTableTest, TestScores) {
EXPECT_CALL(*target_data_array, HasWord("d"))
.WillRepeatedly(Return(false));
- vector<pair<int, int> > links1 = {
+ vector<pair<int, int>> links1 = {
make_pair(0, 0), make_pair(1, 1), make_pair(2, 2), make_pair(3, 3),
make_pair(4, 4), make_pair(4, 5)
};
- vector<pair<int, int> > links2 = {make_pair(1, 0), make_pair(2, 1)};
- vector<pair<int, int> > links3 = {make_pair(0, 0), make_pair(2, 1)};
+ vector<pair<int, int>> links2 = {make_pair(1, 0), make_pair(2, 1)};
+ vector<pair<int, int>> links3 = {make_pair(0, 0), make_pair(2, 1)};
shared_ptr<MockAlignment> alignment = make_shared<MockAlignment>();
EXPECT_CALL(*alignment, GetLinks(0)).WillRepeatedly(Return(links1));
EXPECT_CALL(*alignment, GetLinks(1)).WillRepeatedly(Return(links2));