created initTestState
This commit is contained in:
parent
1a6782f644
commit
b9c7fa84be
12
9unit.c
12
9unit.c
|
@ -22,4 +22,16 @@
|
|||
|
||||
#include "9unit.h"
|
||||
|
||||
void
|
||||
initTestState(TestState *s)
|
||||
{
|
||||
if(s)
|
||||
{
|
||||
s->run = 0;
|
||||
s->success = 0;
|
||||
s->failure = 0;
|
||||
s->postponed = 0;
|
||||
}
|
||||
}
|
||||
|
||||
//jl
|
||||
|
|
Loading…
Reference in New Issue
Block a user