- self = mesh.get_self();
- if(!self) {
- cerr << "Foo doesn't know about itself the second time\n";
- return 1;
- }
- if(strcmp(self->name, "foo")) {
- cerr << "Foo thinks its name is " << self->name << " the second time\n";
- return 1;
- }
+ self = mesh.get_self();
+ assert(self);
+ assert(!strcmp(self->name, "foo"));