created initTestState
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user