adds AXI4 pin level test and moves all tests to automatic discovery
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
/*
|
||||
* main.cpp
|
||||
*
|
||||
* Created on: 01.01.2019
|
||||
* Author: eyck
|
||||
*/
|
||||
|
||||
#include <util/io-redirector.h>
|
||||
#include <iostream>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
||||
int main(int arcg, char* argv[]){
|
||||
util::IoRedirector::get().start();
|
||||
auto result1 = util::IoRedirector::get().get_output();
|
||||
assert(result1=="");
|
||||
printf("Some output");
|
||||
std::cout<<"Some other output"<<std::endl;
|
||||
auto result2 = util::IoRedirector::get().get_output();
|
||||
assert(result2=="Some outputSome other output\n");
|
||||
util::IoRedirector::get().stop();
|
||||
}
|
Reference in New Issue
Block a user