summaryrefslogtreecommitdiff
path: root/test/text_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/text_test.cc')
-rw-r--r--test/text_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text_test.cc b/test/text_test.cc
index b8d76207..6749a753 100644
--- a/test/text_test.cc
+++ b/test/text_test.cc
@@ -32,7 +32,7 @@ BOOST_AUTO_TEST_CASE (text_test1)
text->add_child_text("Hello world");
dcp::Text t (cxml::NodePtr (new cxml::Node (text)), 250);
- BOOST_CHECK_CLOSE (t.v_position, 4.2, 0.001);
+ BOOST_CHECK_CLOSE (t.v_position, 0.042, 0.001);
BOOST_CHECK_EQUAL (t.v_align, dcp::TOP);
BOOST_CHECK_EQUAL (t.text, "Hello world");
}
@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE (text_test2)
text->add_child_text("Hello world");
dcp::Text t (cxml::NodePtr (new cxml::Node (text)), 250);
- BOOST_CHECK_CLOSE (t.v_position, 4.2, 0.001);
+ BOOST_CHECK_CLOSE (t.v_position, 0.042, 0.001);
BOOST_CHECK_EQUAL (t.v_align, dcp::TOP);
BOOST_CHECK_EQUAL (t.text, "Hello world");
}