#include <iostream>
#include "fraction.cpp"
using namespace std;

int main()
{
	fraction p(1,2), q(3,4);
	
	//TEST ADDITION
	cout 	<< p << " + " << q << " = " << p.add(q) << endl;
	cout << endl;
	
	//TEST SUBTRACTION
	cout 	<< p << " - " << q << " = " << p.subtract(q) << endl;
	cout << endl;
	
	TEST MULTIPLICATION
	cout 	<< p << " * " << q << " = " << p.multiply(q) << endl;
	cout << endl;
	
	TEST DIVISION
	cout 	<< p << " / " << q << " = " << p.divide(q) << endl;
	cout << endl;
}
