children.c

ds2.10/fluffos-2.16-ds05/testsuite/single/tests/efuns/children.c · 222 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

void do_tests() {
    object x;

    foreach (x in children(__FILE__))
        if (x != this_object()) destruct(x);

    for (int i = 0; i < 5; i++)
        new(__FILE__);

    ASSERT(sizeof(children(__FILE__)) == 6);
}


Site Stats

Snippets: 1791
Codebases: 571