~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/libnr/nr-translate-test.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Ted Gould, Kees Cook
  • Date: 2009-06-24 14:00:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624140043-07stp20mry48hqup
Tags: 0.47~pre0-0ubuntu1
* New upstream release

[ Ted Gould ]
* debian/control: Adding libgsl0 and removing version specifics on boost

[ Kees Cook ]
* debian/watch: updated to run uupdate and mangle pre-release versions.
* Dropped patches that have been taken upstream:
  - 01_mips
  - 02-poppler-0.8.3
  - 03-chinese-inkscape
  - 05_fix_latex_patch
  - 06_gcc-4.4
  - 07_cdr2svg
  - 08_skip-bad-utf-on-pdf-import
  - 09_gtk-clist
  - 10_belarussian
  - 11_libpng
  - 12_desktop
  - 13_slider
  - 100_svg_import_improvements
  - 102_sp_pattern_painter_free
  - 103_bitmap_type_print

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include <libnr/nr-point-matrix-ops.h>
8
8
#include <libnr/nr-translate.h>
9
9
#include <libnr/nr-translate-ops.h>
10
 
using NR::X;
11
 
using NR::Y;
12
10
 
13
11
class NrTranslateTest : public CxxTest::TestSuite
14
12
{
40
38
 
41
39
    void testCtorsArrayOperator(void)
42
40
    {
43
 
        TS_ASSERT_EQUALS( tc[X], -3.0 );
44
 
        TS_ASSERT_EQUALS( tc[Y], -2.0 );
 
41
        TS_ASSERT_EQUALS( tc[NR::X], -3.0 );
 
42
        TS_ASSERT_EQUALS( tc[NR::Y], -2.0 );
45
43
 
46
 
        TS_ASSERT_EQUALS( tb[0], b[X] );
47
 
        TS_ASSERT_EQUALS( tb[1], b[Y] );
 
44
        TS_ASSERT_EQUALS( tb[0], b[NR::X] );
 
45
        TS_ASSERT_EQUALS( tb[1], b[NR::Y] );
48
46
    }
49
47
 
50
48
    void testAssignmentOperator(void)