12 lines
332 B
C
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
|
|
}
|