diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-28 15:44:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-28 15:44:48 +0100 |
| commit | 084eff7331b1a7c9923282c5860f490648ad633a (patch) | |
| tree | 70386b3508e47654aa4aeea1f3a9bcb2fcb6921f /test | |
| parent | d3cbf2fcc8762f8b3442f478db1a988544ab4ea1 (diff) | |
CENTRE_OF_SCREEN -> VERTICAL_CENTRE_OF_SCREEN.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ssa_reader_test.cc | 6 | ||||
| -rw-r--r-- | test/vertical_position_test.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/ssa_reader_test.cc b/test/ssa_reader_test.cc index 74faf49..bf7b7a8 100644 --- a/test/ssa_reader_test.cc +++ b/test/ssa_reader_test.cc @@ -224,17 +224,17 @@ BOOST_AUTO_TEST_CASE (ssa_reader_test3) SUB_END (); SUB_START (sub::Time::from_hms (0, 0, 9, 260), sub::Time::from_hms (0, 0, 11, 560)); - LINE (0, sub::CENTRE_OF_SCREEN); + LINE (0, sub::VERTICAL_CENTRE_OF_SCREEN); BLOCK("middle left", "Arial", 20, false, false, false); SUB_END (); SUB_START (sub::Time::from_hms (0, 0, 9, 270), sub::Time::from_hms (0, 0, 11, 560)); - LINE (0, sub::CENTRE_OF_SCREEN); + LINE (0, sub::VERTICAL_CENTRE_OF_SCREEN); BLOCK("middle centre", "Arial", 20, false, false, false); SUB_END (); SUB_START (sub::Time::from_hms (0, 0, 9, 280), sub::Time::from_hms (0, 0, 11, 560)); - LINE (0, sub::CENTRE_OF_SCREEN); + LINE (0, sub::VERTICAL_CENTRE_OF_SCREEN); BLOCK("middle right", "Arial", 20, false, false, false); SUB_END (); diff --git a/test/vertical_position_test.cc b/test/vertical_position_test.cc index c106a27..f4c6ffc 100644 --- a/test/vertical_position_test.cc +++ b/test/vertical_position_test.cc @@ -71,7 +71,7 @@ BOOST_AUTO_TEST_CASE (vertical_position_test) a.proportional = 0.7; a.reference = sub::TOP_OF_SCREEN; b.proportional = 0.3; - b.reference = sub::CENTRE_OF_SCREEN; + b.reference = sub::VERTICAL_CENTRE_OF_SCREEN; BOOST_CHECK (a < b); a.proportional = 0.9; |
