previous_object.c

v22.2b14/testsuite/single/tests/efuns/previous_object.c · 153 B

From the archive beta.tar.gz

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