~ubuntu-branches/ubuntu/vivid/regina-normal/vivid-proposed

« back to all changes in this revision

Viewing changes to testsuite/triangulation/connectedsumdecomp.cpp

  • Committer: Package Import Robot
  • Author(s): Ben Burton
  • Date: 2011-09-10 07:17:25 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: package-import@ubuntu.com-20110910071725-97n90tywdq60w2cr
Tags: 4.90-1
* New upstream release!
* The user interface has been ported from KDE3 to KDE4 (closes: #556318).
  Re-enabled the GUI as a result.
* The build system has been ported from autotools to cmake.
* The new upstream release builds fine on amd64 (closes: #624882).
* Moved the users' handbook into regina-normal-doc.
* Upgraded several suggests/recommends.  Upgraded regina-normal-mpi to
  depend on mpi-default-bin, and regina-normal to depend on both graphviz
  and regina-normal-doc (which the GUI expends to be present).  Upgraded
  regina-normal to recommend gap.
* Bumped standards-version to 3.9.2.0 (no changes required).

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 *  Regina - A Normal Surface Theory Calculator                           *
5
5
 *  Test Suite                                                            *
6
6
 *                                                                        *
7
 
 *  Copyright (c) 1999-2009, Ben Burton                                   *
 
7
 *  Copyright (c) 1999-2011, Ben Burton                                   *
8
8
 *  For further details contact Ben Burton (bab@debian.org).              *
9
9
 *                                                                        *
10
10
 *  This program is free software; you can redistribute it and/or         *
41
41
using regina::NAbelianGroup;
42
42
using regina::NContainer;
43
43
using regina::NManifold;
44
 
using regina::NPerm;
 
44
using regina::NPerm4;
45
45
using regina::NSignature;
46
46
using regina::NStandardTriangulation;
47
47
using regina::NTetrahedron;
397
397
            NTetrahedron* tet[5];
398
398
            int i;
399
399
            for (i = 0; i < 5; i++)
400
 
                tet[i] = new NTetrahedron;
401
 
            tet[0]->joinTo(0, tet[4], NPerm(1,0,2,3));
402
 
            tet[0]->joinTo(1, tet[3], NPerm(0,2,3,1));
403
 
            tet[0]->joinTo(2, tet[1], NPerm(0,1,3,2));
404
 
            tet[0]->joinTo(3, tet[2], NPerm(2,1,3,0));
405
 
            tet[1]->joinTo(0, tet[3], NPerm(1,3,2,0));
406
 
            tet[1]->joinTo(1, tet[2], NPerm(0,2,3,1));
407
 
            tet[1]->joinTo(2, tet[4], NPerm(2,1,0,3));
408
 
            tet[2]->joinTo(1, tet[4], NPerm(0,2,3,1));
409
 
            tet[2]->joinTo(3, tet[3], NPerm(3,1,2,0));
410
 
            tet[3]->joinTo(3, tet[4], NPerm(0,1,2,3));
411
 
            for (i = 0; i < 5; i++)
412
 
                tri->addTetrahedron(tet[i]);
 
400
                tet[i] = tri->newTetrahedron();
 
401
            tet[0]->joinTo(0, tet[4], NPerm4(1,0,2,3));
 
402
            tet[0]->joinTo(1, tet[3], NPerm4(0,2,3,1));
 
403
            tet[0]->joinTo(2, tet[1], NPerm4(0,1,3,2));
 
404
            tet[0]->joinTo(3, tet[2], NPerm4(2,1,3,0));
 
405
            tet[1]->joinTo(0, tet[3], NPerm4(1,3,2,0));
 
406
            tet[1]->joinTo(1, tet[2], NPerm4(0,2,3,1));
 
407
            tet[1]->joinTo(2, tet[4], NPerm4(2,1,0,3));
 
408
            tet[2]->joinTo(1, tet[4], NPerm4(0,2,3,1));
 
409
            tet[2]->joinTo(3, tet[3], NPerm4(3,1,2,0));
 
410
            tet[3]->joinTo(3, tet[4], NPerm4(0,1,2,3));
413
411
            delete verifyPrime(tri, "the Poincare homology sphere (plugged)",
414
412
                "S3/P120");
415
413