Peano
Loading...
Searching...
No Matches
ScalarTest.h
Go to the documentation of this file.
1
// This file is part of the Peano project. For conditions of distribution and
2
// use, please see the copyright notice at www.peano-framework.org
3
#pragma once
4
5
#include "
tarch/tests/TestCase.h
"
6
7
namespace
tarch
{
8
namespace
la {
9
namespace
tests
{
10
class
ScalarTest;
11
}
12
}
13
}
14
15
class
tarch::la::tests::ScalarTest
:
public
tarch::tests::TestCase
16
{
17
private
:
18
19
void
testComparison
();
20
21
void
testAbs
();
22
23
public
:
24
28
ScalarTest
();
29
33
virtual
~ScalarTest
() {};
34
38
virtual
void
run
();
39
43
virtual
void
setUp
() {}
44
};
45
TestCase.h
tarch::la::tests::ScalarTest
Definition
ScalarTest.h:16
tarch::la::tests::ScalarTest::setUp
virtual void setUp()
Sets up test environment.
Definition
ScalarTest.h:43
tarch::la::tests::ScalarTest::run
virtual void run()
Runs all tests.
Definition
ScalarTest.cpp:14
tarch::la::tests::ScalarTest::testComparison
void testComparison()
Definition
ScalarTest.cpp:19
tarch::la::tests::ScalarTest::testAbs
void testAbs()
Definition
ScalarTest.cpp:51
tarch::la::tests::ScalarTest::~ScalarTest
virtual ~ScalarTest()
Destructor, empty.
Definition
ScalarTest.h:33
tarch::la::tests::ScalarTest::ScalarTest
ScalarTest()
Constructor.
Definition
ScalarTest.cpp:9
tarch::tests::TestCase
Represents one test case.
Definition
TestCase.h:57
tarch
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition
accelerator.h:19
tests
Definition
Scenario.h:8
src
tarch
la
tests
ScalarTest.h
Generated on Tue Mar 18 2025 20:03:26 for Peano by
1.10.0