From 4ada3e7583dfdc658dbebca3c3603be1e3477c12 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Oct 2014 13:29:36 +0100 Subject: 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. --- test/stl_binary_writer_test.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/stl_binary_writer_test.cc') 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 "; -- cgit v1.2.3