|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52014 - sandbox/SOC/2007/visualization/libs/svg_plot/test
From: pbristow_at_[hidden]
Date: 2009-03-27 09:00:59
Author: pbristow
Date: 2009-03-27 09:00:59 EDT (Fri, 27 Mar 2009)
New Revision: 52014
URL: http://svn.boost.org/trac/boost/changeset/52014
Log:
Yet more doc correctins and updates.
Text files modified:
sandbox/SOC/2007/visualization/libs/svg_plot/test/test_svg.cpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Modified: sandbox/SOC/2007/visualization/libs/svg_plot/test/test_svg.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/test/test_svg.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/test/test_svg.cpp 2009-03-27 09:00:59 EDT (Fri, 27 Mar 2009)
@@ -31,6 +31,8 @@
using boost::svg::g_element;
using boost::svg::rect_element;
using boost::svg::svg_style;
+
+#include <boost/svg_plot/svg_color.hpp>
using namespace boost::svg;
#include <boost/svg_plot/svg_fwd.hpp> // Forward declarations.
@@ -175,10 +177,9 @@
//std::string stretch;
//std::string decoration;
- BOOST_CHECK_EQUAL(text.style(), no_style);
-
text_style def_style; // All defaults.
- BOOST_CHECK_EQUAL(def_style.font_size(), 20);
+
+ BOOST_CHECK_EQUAL(def_style.font_size(), 12);
BOOST_CHECK_EQUAL(def_style.font_family(), "");
BOOST_CHECK_EQUAL(def_style, no_style);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk