updates scc and applies needed changes
This commit is contained in:
@ -11,12 +11,12 @@
|
||||
#include <cassert>
|
||||
|
||||
int main(int arcg, char* argv[]){
|
||||
IoRedirector::get().start();
|
||||
auto result1 = IoRedirector::get().get_output();
|
||||
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 = IoRedirector::get().get_output();
|
||||
auto result2 = util::IoRedirector::get().get_output();
|
||||
assert(result2=="Some outputSome other output\n");
|
||||
IoRedirector::get().stop();
|
||||
util::IoRedirector::get().stop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user