/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

#include "passmanager.h"

#include "gtest/gtest.h"
#include <boost/scoped_ptr.hpp>

using namespace xreate;
using namespace std;

//TEST(Exploitation, append1){
//        std::string program = 
//R"CODE(
//
//test1 = function :: num; entry {
//    appendA() + appendB()
//}
//
//appendA = function:: num {
//    append("a", "/tmp/test1.txt")
//}
//
//appendB = function:: num {
//    append("b", "/tmp/test1.txt")
//}
//
//append = function(msg::string, filename::string):: num
//{
//   f = initialize(filename):: FILE.
//   
//   fprintf(f, msg)
//}
//
//)CODE";
//        
//    boost::scoped_ptr<PassManager> man(PassManager::prepareForCode(move(program)));
//    man->runWithoutCompilation();
//}

#include <iostream>
#include <gringo/scripts.hh>
#include "clasplayer.h"

TEST(Exploitation, clasp1){
}
