previous_object.c

ds2.10/fluffos-2.16-ds05/testsuite/single/tests/efuns/previous_object.c · 156 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

void do_tests() {
    object *obs = previous_object(-1);

    for (int i = 0; i < sizeof(obs); i++) {
        ASSERT(obs[i] == previous_object(i));
    }
}

Site Stats

Snippets: 1791
Codebases: 571