OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/include/fxcrt/fx_basic.h" | 5 #include "core/include/fxcrt/fx_basic.h" |
6 #include "include/BC_PDF417HighLevelEncoder.h" | 6 #include "include/BC_PDF417HighLevelEncoder.h" |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 #include "testing/fx_string_testhelpers.h" | 8 #include "testing/fx_string_testhelpers.h" |
9 | 9 |
10 TEST(PDF417HighLevelEncoder, EncodeHighLevel) { | 10 TEST(PDF417HighLevelEncoder, EncodeHighLevel) { |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 CFX_WideString input(ptr->input); | 212 CFX_WideString input(ptr->input); |
213 int actual_count = CBC_PDF417HighLevelEncoder::determineConsecutiveTextCount
(input, ptr->offset); | 213 int actual_count = CBC_PDF417HighLevelEncoder::determineConsecutiveTextCount
(input, ptr->offset); |
214 EXPECT_EQ(ptr->expected_count, actual_count) << " for case number " << i; | 214 EXPECT_EQ(ptr->expected_count, actual_count) << " for case number " << i; |
215 } | 215 } |
216 CBC_PDF417HighLevelEncoder::Finalize(); | 216 CBC_PDF417HighLevelEncoder::Finalize(); |
217 } | 217 } |
218 | 218 |
219 TEST(PDF417HighLevelEncoder, ConsecutiveBinaryCount) { | 219 TEST(PDF417HighLevelEncoder, ConsecutiveBinaryCount) { |
220 | 220 |
221 } | 221 } |
OLD | NEW |