mud/fluffos-2.23-ds03/testsuite/single/tests/efuns/function_profile.c
2020-09-06 05:43:07 -07:00

12 lines
294 B
C

void do_tests() {
#ifdef __PROFILE_FUNCTIONS__
mixed *hmm = function_profile(this_object());
ASSERT(sizeof(hmm) == 1);
ASSERT(hmm[0]["calls"]);
ASSERT(!undefinedp(hmm[0]["self"]));
ASSERT(!undefinedp(hmm[0]["children"]));
ASSERT(hmm[0]["name"] == "do_tests");
#endif
}