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

12 lines
332 B
C

void do_tests() {
#ifndef __NO_ENVIRONMENT__
ASSERT(catch(move_object("foo")));
ASSERT(catch(move_object(__FILE__)));
ASSERT(catch(move_object(this_object())));
move_object(master());
ASSERT(environment(this_object()) == master());
destruct(this_object());
ASSERT(catch(move_object(master())));
#endif
}