/*
 * sprint1-installation.cpp
 *
 *  Created on: 26 Feb 2016
 *      Author: pgess
 */

#include "passmanager.h"
#include "gtest/gtest.h"
#include <stdio.h>
using namespace std;
using namespace xreate;

//TODO replace string identifiers with Atoms in order to hold position, etc
TEST(Sprint1, test1){
	const string filenameSource("scripts/testspass/sprint1-Installation1.xreate");
	FILE* fileSource;
	ASSERT_TRUE(fileSource = fopen(filenameSource.c_str(), "rb"));

	PassManager* man = PassManager::prepareForCode(fileSource);
	man->run();
}
