
complex cx1;		// should be 0 + 0i
complex cx2(5,6);	// should be 5 + 6i
complex cx3(7,-8);	// should be 7 - 8i
complex cx4(0,-2);	// should be 0 - 2i
complex cxtemp;		// should be 0 + 0i
complex cxzero;		// should be 0 + 0i


cx3.print();		// should print 7 - 8i
cxtemp = cx2 + cx3;
cxtemp.print();		// should print 12 - 2i

cxtemp = cx2 - cx3;
cxtemp.print();		// should print -2 + 14i

cxtemp = cx2 * cx3;
cxtemp.print();		// should print 83 + 2i

cxtemp = cx3.getConjugate();
cxtemp.print();		// should print 7 + 8i

cxtemp = cx2 / cx3;
cxtemp.print();		// should print approx -.115 + 726i

if(cx4 == 0)
	cout << "Zero (Test 1)" << endl;
else
	cout << "Not Zero (Test 1)" << endl; // should run this line

if(cxzero == cx1)
	cout << "Zero (Test 2)" << endl; // should run this line
else
	cout << "Not Zero (Test 2)" << endl; 

if(cx1 == cx0)
	cout << "Zero (Test 3)" << endl; // should run this line
else
	cout << "Not Zero (Test 3)" << endl; 