//! @copyright *this file is freware. 
//! @warning Use it at your own risk.
//! @file triplet_test.cpp
//! @author Dejan D. M. Milosavljevic
//! @version 1.0
//! @date 2003
//! @please "Do not remove or change this comments"
//! @description triplet tests.
//! @bug
//! @warning  Use it at your own risk.
//! @copyright *this file is freware. 

#include <iostream>
#include <iomanip>
#include "triplet.hpp"

using namespace std;
using namespace stl_ext;

int main_triplet(int argc, char* argv[])
 {
  cout << "--- main_triplet ---" << endl;

  triplet<char,int,float> p, q(55,4,71);

  triplet<float,int,char> a(5,2,69), b;

  p = q;

  cout << "p.first "  << p.first  << endl;
  cout << "p.second " << p.second << endl;
  cout << "p.third "  << p.third  << endl;
  cout << "a.first "  << a.first  << endl;
  cout << "a.second " << a.second << endl;
  cout << "a.third "  << a.third  << endl;

  a = p;

  cout << "a.first "  << a.first  << endl;
  cout << "a.second " << a.second << endl;
  cout << "a.third "  << a.third  << endl;

  return 0;
 }

