예제 #1
0
TEST(AWorkObject, DefaultsFunctionToNullObject) {
   Work work;
   try {
      work.execute();
   }
   catch(...) {
      FAIL("unable to execute function");
   }
}
예제 #2
0
 virtual void add(Work work) override { work.execute(); }