Commit f688bc11 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Cleanup of directory structure and removed obsolete files and functions

parent 0ef5f46a
#include <tuple>
#include <iostream>
#include <amdis/common/TupleUtility.hpp>
#include "Tests.hpp"
using namespace AMDiS;
int main()
using Tuple1 = std::tuple<double,int>;
using TupleDouble = std::tuple<double,double>;
using TupleInt = std::tuple<int,int>;
using Tuple2 = std::tuple<TupleDouble,TupleInt>;
Tuple1 u{1.3, 2};
auto v = constructTuple<Tuple1>(1.5);
auto w = foldTuples<Tuple2>(u,v);
AMDIS_TEST((u == Tuple1{1.3, 2}));
AMDIS_TEST((v == Tuple1{1.5, 1}));
AMDIS_TEST((w == Tuple2{TupleDouble{1.3, 1.5}, TupleDouble{2, 1}} ));
return report_errors();
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment