Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dr. Michael Petter
LLVM-abstractinterpretation
Commits
ee5705ec
Verified
Commit
ee5705ec
authored
Mar 15, 2020
by
Tim Gymnich
Browse files
Added tests for double
parent
e4587a58
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/matrix_test.cpp
View file @
ee5705ec
...
...
@@ -312,7 +312,7 @@ bool MatrixTest<T>::runTestSpan1() {
};
auto
matrix
=
Matrix
(
a
);
auto
actual
=
Matrix
<
int
>::
span
(
matrix
);
auto
actual
=
Matrix
<
T
>::
span
(
matrix
);
result
=
actual
==
Matrix
(
expected
);
...
...
@@ -334,6 +334,16 @@ int main() {
&&
MatrixTest
<
int
>::
runTestRank2
()
&&
MatrixTest
<
int
>::
runTestRank3
()
&&
MatrixTest
<
int
>::
runTestSpan1
()
&&
MatrixTest
<
double
>::
runTestMul2
()
&&
MatrixTest
<
double
>::
runTestTranspose1
()
&&
MatrixTest
<
double
>::
runTestTranspose2
()
&&
MatrixTest
<
double
>::
runTestEchelon1
()
&&
MatrixTest
<
double
>::
runTestEchelon2
()
&&
MatrixTest
<
double
>::
runTestEchelon3
()
&&
MatrixTest
<
double
>::
runTestRank1
()
&&
MatrixTest
<
double
>::
runTestRank2
()
&&
MatrixTest
<
double
>::
runTestRank3
()
&&
MatrixTest
<
double
>::
runTestSpan1
()
);
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment