Skip to content
Snippets Groups Projects
Commit f51b2302 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[test|common.print] at least compile and run something

parent f802ba43
No related branches found
No related tags found
1 merge request!20Update bindings
......@@ -16,6 +16,25 @@
using namespace Dune::XT::Common;
using namespace std;
GTEST_TEST(print, some_types)
{
std::cout << print(int(1)) << std::endl;
std::cout << print(double(2)) << std::endl;
std::cout << print(std::string("foo")) << std::endl;
std::cout << print(std::vector<double>({1, 2})) << std::endl;
}
GTEST_TEST(repr, some_types)
{
std::cout << repr(int(1)) << std::endl;
std::cout << repr(double(2)) << std::endl;
std::cout << repr(std::string("foo")) << std::endl;
std::cout << repr(std::vector<double>({1, 2})) << std::endl;
}
GTEST_TEST(OutputIterator, All)
{
const vector<int> ints{0, 1, 2};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment