Code

Indent support for XSLT extensions output.
[inkscape.git] / src / marker-test.h
1 /** @file
2  * @brief Unit tests for SVG marker handling
3  */
4 /* Authors:
5  *   Johan Engelen <goejendaagh@zonnet.nl>
6  *
7  * This file is released into the public domain.
8  */
10 #include <cxxtest/TestSuite.h>
12 #include "sp-marker-loc.h"
14 class MarkerTest : public CxxTest::TestSuite
15 {
16 public:
18     void testMarkerLoc()
19     {
20         // code depends on these *exact* values, so check them here.
21         TS_ASSERT_EQUALS(SP_MARKER_LOC, 0);
22         TS_ASSERT_EQUALS(SP_MARKER_LOC_START, 1);
23         TS_ASSERT_EQUALS(SP_MARKER_LOC_MID, 2);
24         TS_ASSERT_EQUALS(SP_MARKER_LOC_END, 3);
25         TS_ASSERT_EQUALS(SP_MARKER_LOC_QTY, 4);
26     }
28 };
30 /*
31   Local Variables:
32   mode:c++
33   c-file-style:"stroustrup"
34   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
35   indent-tabs-mode:nil
36   fill-column:99
37   End:
38 */
39 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :