https://mooseframework.inl.gov
reactor
unit
include
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
12
#include "
HexagonalLatticeUtils.h
"
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
20
class
HexagonalLatticeTest
:
public
MooseObjectUnitTest
21
{
22
public
:
23
HexagonalLatticeTest
() :
MooseObjectUnitTest
(
"ReactorUnitApp"
) {}
24
};
HexagonalLatticeUtils.h
HexagonalLatticeTest::HexagonalLatticeTest
HexagonalLatticeTest()
Definition:
HexagonalLatticeTest.h:23
HexagonalLatticeTest
Definition:
HexagonalLatticeTest.h:20
MooseObjectUnitTest
MooseObjectUnitTest.h
Generated on Thu Aug 7 2025 20:21:11 for https://mooseframework.inl.gov by
1.8.14