runPipeline('
');
$widths = array(122,
27,
32,
37,
42,
47,
72,
97,
122,
147,
219,
48,
57,
66,
75,
84,
129,
174,
219,
264);
for ($i=0; $i<20; $i++) {
$element =& $tree->get_element_by_id(sprintf('i%d', $i+1));
$this->assertEqual($element->get_full_width(),
px2pt($widths[$i]),
sprintf('Invalid input No %i width [%%s]', $i+1));
};
}
}
?>