diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-07-27 08:51:14 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-07-27 08:51:14 +0100 |
commit | 802a29f8c69c5bea0d57a7acdbdecf3aa554a976 (patch) | |
tree | 4779633d97e3b7460ce2bd4893606584c04a4f75 /test/matrixtest.cpp | |
parent | 34bb15107a71fa4c6ab2114013b1de6b38554e78 (diff) | |
download | YAGE-802a29f8c69c5bea0d57a7acdbdecf3aa554a976.tar.gz YAGE-802a29f8c69c5bea0d57a7acdbdecf3aa554a976.zip |
adding issues
Diffstat (limited to 'test/matrixtest.cpp')
-rw-r--r-- | test/matrixtest.cpp | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/test/matrixtest.cpp b/test/matrixtest.cpp index 20f6fb6b..08d025a6 100644 --- a/test/matrixtest.cpp +++ b/test/matrixtest.cpp @@ -65,34 +65,16 @@ int main() { TestBench tb; - bool all_passed=false; + bool all_passed=true; - try - { - test(tb, "Matrix Assign", matrixAssign()); - } - catch(std::exception e) - { - std::cout<<e.what()<<'\n'; - } + try{ test(tb, "Matrix Assign", matrixAssign()); } + catch(std::exception e) { std::cout<<e.what()<<'\n'; } - try - { - test(tb, "Matrix Addition", matrixAddition()); - } - catch(std::exception e) - { - std::cout<<e.what()<<'\n'; - } + try{ test(tb, "Matrix Addition", matrixAddition()); } + catch(std::exception e) { std::cout<<e.what()<<'\n'; } - try - { - test(tb, "Vector Dot Product", vectorDotProduct()); - } - catch(std::string e) - { - std::cout<<e<<'\n'; - } + try{ test(tb, "Vector Dot Product", vectorDotProduct()); } + catch(std::string e) { std::cout<<e<<'\n'; } tb.printResults(); return all_passed; |