void llprimitive_object_t::test<2>() { set_test_name("Test LLPrimitive PCode setter and getter."); LLPrimitive test; ensure_equals(test.getPCode(), 0); LLPCode code = 1; test.setPCode(code); ensure_equals(test.getPCode(), code); }
void llprimitive_object_t::test<4>() { set_test_name("Test Static llprimitive constructor and initer."); LLPCode code = 1; LLPrimitive * primitive = LLPrimitive::createPrimitive(code); ensure(primitive != NULL); ensure_equals(primitive->getPCode(), code); }
void llprimitive_object_t::test<3>() { set_test_name("Test llprimitive constructor and initer."); LLPCode code = 1; LLPrimitive primitive; primitive.init_primitive(code); ensure_equals(primitive.getPCode(), code); }