// // cube.cpp: implement cube function // #include "cube.h" int cube(int x) { if ( x == -1 ) // this is a silly check to show missing coverage return -1; else return x * x * x; }