Dune Core Modules (2.4.1)

test-axisalignedcubegeometry.cc File Reference

A unit test for the AxisAlignedCubeGeometry class. More...

#include <iostream>
#include <dune/common/exceptions.hh>
#include <dune/common/ios_state.hh>
#include <dune/geometry/axisalignedcubegeometry.hh>
#include <dune/geometry/test/checkgeometry.hh>

Functions

template<class TestGeometry >
void testBasicGeometryAffine (const TestGeometry &geometry, int &result)
 Test whether the given BasicGeometry object 'affine' attribute is set correctly. More...
 

Detailed Description

A unit test for the AxisAlignedCubeGeometry class.

Function Documentation

◆ testBasicGeometryAffine()

template<class TestGeometry >
void testBasicGeometryAffine ( const TestGeometry &  geometry,
int &  result 
)

Test whether the given BasicGeometry object 'affine' attribute is set correctly.

Parameters
geometryThe Geometry object to test.
expectedAffineWhether the geometry should be affine.
resultCollect pass/fail results.
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)