find_living.c
ds2.10/fluffos-2.16-ds05/testsuite/single/tests/efuns/find_living.c · 314 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
void do_tests() {
#ifndef __NO_ADD_ACTION__
object ob;
object tp;
ASSERT(!find_living("bar"));
SAVETP;
enable_commands();
set_living_name("bar");
ob = find_living("bar");
disable_commands();
RESTORETP;
ASSERT(ob == this_object());
ASSERT(!find_living("bar"));
#endif
}