feat(tests): added testing framework #11
2 changed files with 19 additions and 0 deletions
|
|
@ -6,7 +6,9 @@
|
|||
* You may obtain a copy of the License in the file LICENSE or at
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*/
|
||||
#include "unit/unit.h"
|
||||
|
||||
int main(void) {
|
||||
QNET_TEST_RUN();
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
17
tests/unit/unit.h
Normal file
17
tests/unit/unit.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (C) Tristan Franssen, <tristanfranssen@strawhats.nl>.
|
||||
*
|
||||
* This software is licensed under the Apache License, Version 2.0 (the "License");
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License in the file LICENSE or at
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*/
|
||||
#ifndef QNET_UNIT
|
||||
#define QNET_UNIT
|
||||
|
||||
#include "test.h"
|
||||
|
||||
QNET_TEST_START
|
||||
QNET_TEST_END
|
||||
|
||||
#endif /* QNET_UNIT */
|
||||
Loading…
Add table
Reference in a new issue