diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-06 13:29:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-06 13:29:36 +0100 |
| commit | 4ada3e7583dfdc658dbebca3c3603be1e3477c12 (patch) | |
| tree | 0516fdd142b79e7083ed3d455fe45fffce26a9a8 /test/stl_binary_writer_test.cc | |
| parent | 86440b2afe0a2b83a7e810f37b1f65dbddee90e8 (diff) | |
Template-ize collect so that any container can be used.
Add new vertical reference of TOP_OF_SUBTITLE, and use references
with line numbers as well as proportional specifiers.
Add a couple of methods to MetricTime.
Diffstat (limited to 'test/stl_binary_writer_test.cc')
| -rw-r--r-- | test/stl_binary_writer_test.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/stl_binary_writer_test.cc b/test/stl_binary_writer_test.cc index 05b2cac..90142a7 100644 --- a/test/stl_binary_writer_test.cc +++ b/test/stl_binary_writer_test.cc @@ -40,6 +40,7 @@ BOOST_AUTO_TEST_CASE (stl_binary_writer_test) b.font_size.set_points (42); sub::Line l; l.vertical_position.line = 0; + l.vertical_position.reference = sub::TOP_OF_SCREEN; l.blocks.push_back (b); s.lines.push_back (l); } @@ -51,6 +52,7 @@ BOOST_AUTO_TEST_CASE (stl_binary_writer_test) b.font_size.set_points (42); sub::Line l; l.vertical_position.line = 1; + l.vertical_position.reference = sub::TOP_OF_SCREEN; l.blocks.push_back (b); s.lines.push_back (l); } @@ -65,6 +67,7 @@ BOOST_AUTO_TEST_CASE (stl_binary_writer_test) sub::Line l; l.vertical_position.line = 0; + l.vertical_position.reference = sub::TOP_OF_SCREEN; sub::Block b; b.text = "This is some "; |
