#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   uCalc::Transformer t;
   t.Text("A");

   // Pass 0 will change 'A' to 'B'
   auto pass0 = t.Pass(0);
   pass0.FromTo("A", "B");

   // Pass 1 will receive 'B' and change it to 'C'
   auto pass1 = t.Pass(1);
   pass1.FromTo("B", "C");

   t.Transform();
   cout << t << endl; // The final output is 'C'
}