https://mooseframework.inl.gov
Loading...
Searching...
No Matches
HexagonalLatticeTest.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
13#include "MooseObjectUnitTest.h"
14
15// Macro for computing absolute error
16#define ABS_DOUBLE_TEST(value, ref_value) \
17 EXPECT_LE(std::abs(((MetaPhysicL::raw_value(value)) - (MetaPhysicL::raw_value(ref_value)))), \
18 libMesh::TOLERANCE * libMesh::TOLERANCE)
19
21{
22public:
24};