Peano
Loading...
Searching...
No Matches
VectorTest.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
6
7namespace tarch {
8 namespace la {
9 namespace tests {
10 class VectorTest;
11 }
12 }
13}
14
19{
20private:
21
25 void testConstruction();
26
30 void testAssignment();
31
36
41
46
50 void testWrappedVector();
51
55 void testVectorCompare();
56
58
59public:
60
64 VectorTest ();
65
69 virtual ~VectorTest () {};
70
74 virtual void run();
75
79 virtual void setUp() {};
80};
81
Provides tests for types Vector, DynamicVector and all Vector functionality.
Definition VectorTest.h:19
void testConstruction()
Tests constructors.
void testVectorScalarOperations()
Tests methods from VectorScalarOperations.h.
virtual void setUp()
Setup your test case.
Definition VectorTest.h:79
virtual void run()
This routine is triggered by the TestCaseCollection.
void testVectorOperations()
Tests methods from VectorOperations.h.
void testWrappedVector()
Tests wrapping a raw array with (static) vector semantics.
void testVectorCompare()
Tests methods from VectorCompare.h.
void testAssignment()
Tests methods from VectorAssign.h and operator= from Vector types.
virtual ~VectorTest()
Destructor, empty.
Definition VectorTest.h:69
void testVectorVectorOperations()
Tests methods from VectorVectorOperations.h.
Represents one test case.
Definition TestCase.h:57
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19