#include #include "mathcell.h" using namespace std; void basicTest(){ MathCell m(10); cout << "Starting: " << m.getValue() << endl; m.addToValue(100); cout << "After adding 100: " << m.getValue() << endl; m.print(); } void interestingTest(){ MathCell* m = new MathCell(10); IntCell* i = m; m->print(); i->print(); } int main(){ interestingTest(); }