#include <fstream>
#include <iostream>
#include <sstream>
#include <vector>

#include "emittertests.h"
#include "parsertests.h"
#include "spectests.h"
#include "tests.h"

namespace Test {
void RunAll() {
  bool passed = true;
  if (!RunEmitterTests())
    passed = false;

  if (!RunSpecTests())
    passed = false;

  if (!RunParserTests())
    passed = false;

  if (passed)
    std::cout << "All tests passed!\n";
}
}
