Dialogue: Marked=0,0:00:01.23,0:00:04.55,Default,,0,0,0,,Hello world
Dialogue: Marked=0,0:00:05.74,0:00:11.00,Default,,0,0,900,,This is vertically moved\nand has two lines.
Dialogue: Marked=0,0:00:07.74,0:00:09.00,Default,,0,0,0,,Some {\i1}italics{\i} are here.
+Dialogue: Marked=0,0:00:09.23,0:00:11.56,Default,,0,0,0,,{\an1}bottom left
+Dialogue: Marked=0,0:00:09.24,0:00:11.56,Default,,0,0,0,,{\an2}bottom centre
+Dialogue: Marked=0,0:00:09.25,0:00:11.56,Default,,0,0,0,,{\an3}bottom right
+Dialogue: Marked=0,0:00:09.26,0:00:11.56,Default,,0,0,0,,{\an4}middle left
+Dialogue: Marked=0,0:00:09.27,0:00:11.56,Default,,0,0,0,,{\an5}middle centre
+Dialogue: Marked=0,0:00:09.28,0:00:11.56,Default,,0,0,0,,{\an6}middle right
+Dialogue: Marked=0,0:00:09.29,0:00:11.56,Default,,0,0,0,,{\an7}top left
+Dialogue: Marked=0,0:00:09.30,0:00:11.56,Default,,0,0,0,,{\an8}top centre
+Dialogue: Marked=0,0:00:09.31,0:00:11.56,Default,,0,0,0,,{\an9}top right
BLOCK(" are here.", "Arial", 20, false, false, false);
SUB_END();
+ /* Alignments */
+
+ SUB_START (sub::Time::from_hms (0, 0, 9, 230), sub::Time::from_hms (0, 0, 11, 560));
+ LINE (0, sub::BOTTOM_OF_SCREEN);
+ BLOCK("bottom left", "Arial", 20, false, false, false);
+ SUB_END ();
+
+ SUB_START (sub::Time::from_hms (0, 0, 9, 240), sub::Time::from_hms (0, 0, 11, 560));
+ LINE (0, sub::BOTTOM_OF_SCREEN);
+ BLOCK("bottom centre", "Arial", 20, false, false, false);
+ SUB_END ();
+
+ SUB_START (sub::Time::from_hms (0, 0, 9, 250), sub::Time::from_hms (0, 0, 11, 560));
+ LINE (0, sub::BOTTOM_OF_SCREEN);
+ BLOCK("bottom right", "Arial", 20, false, false, false);
+ 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);
+ 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);
+ 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);
+ BLOCK("middle right", "Arial", 20, false, false, false);
+ SUB_END ();
+
+ SUB_START (sub::Time::from_hms (0, 0, 9, 290), sub::Time::from_hms (0, 0, 11, 560));
+ LINE (0, sub::TOP_OF_SCREEN);
+ BLOCK("top left", "Arial", 20, false, false, false);
+ SUB_END ();
+
+ SUB_START (sub::Time::from_hms (0, 0, 9, 300), sub::Time::from_hms (0, 0, 11, 560));
+ LINE (0, sub::TOP_OF_SCREEN);
+ BLOCK("top centre", "Arial", 20, false, false, false);
+ SUB_END ();
+
+ SUB_START (sub::Time::from_hms (0, 0, 9, 310), sub::Time::from_hms (0, 0, 11, 560));
+ LINE (0, sub::TOP_OF_SCREEN);
+ BLOCK("top right", "Arial", 20, false, false, false);
+ SUB_END ();
+
BOOST_REQUIRE (i == subs.end ());
}