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

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   uCalc::Transformer t;
   auto tokens = t.Tokens();

   auto initialCount = tokens.Count();
   cout << "1. Initial count: " << initialCount << endl;

   // Add a new token
   tokens.Add("custom_token");
   cout << "2. Count after Add: " << tokens.Count() << endl;

   // Clear all tokens
   tokens.Clear();
   cout << "3. Count after Clear: " << tokens.Count() << endl;

   // Add one token back
   tokens.Add(".");
   cout << "4. Count after adding one back: " << tokens.Count() << endl;
}