#include "unitnumber.h" #include "number.h" UnitNumber::UnitNumber() { setName("Number"); add( static_cast(&UnitNumber::multiply1), "multiply1", Bu::UnitSuite::expectPass ); } UnitNumber::~UnitNumber() { } void UnitNumber::multiply1() { unitTest( (Number("123456789123456789") * Number("987654321987654321")).toString() == "121932631356500531347203169112635269" ); }