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
-
geometry The Geometry object to test. expectedAffine Whether the geometry should be affine. result Collect pass/fail results.
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)