38 test_rectangle_warper() {}
43int test_rectangle_warper::execute()
56 ASSERT_FALSE( (warped_inner != outer) || (warped_outer != inner),
57 "systems should warp to each other correctly");
63 ASSERT_FALSE( (warp_out_center != inner.center()) || (warp_in_center != outer.center()),
64 "centers should warp to each other");
65 return final_report();
The application_shell is a base object for console programs.
virtual int execute()=0
< retrieves the command line from the /proc hierarchy on linux.
Represents a geometric point.
Represents a geometric rectangle.
#define DEFINE_CLASS_NAME(objname)
Defines the name of a class by providing a couple standard methods.
#define FUNCDEF(func_in)
FUNCDEF sets the name of a function (and plugs it into the callstack).
Provides macros that implement the 'main' program of an application.
#define HOOPLE_MAIN(obj_name, obj_args)
options that should work for most unix and linux apps.
Implements an application lock to ensure only one is running at once.
The guards collection helps in testing preconditions and reporting errors.
Contains all of our objects for geometry and avoids name clashes.
A logger that sends to the console screen using the standard output device.
A dynamic container class that holds any kind of object via pointers.
Useful support functions for unit testing, especially within hoople.
#define ASSERT_FALSE(a, test_name)