MOS Source Code
Loading...
Searching...
No Matches
test_custom_naming_style_importer_c.c
Go to the documentation of this file.
1#include <stdio.h>
2#include <stdbool.h>
3#include <string.h>
4#include <assert.h>
5#include <pb_encode.h>
6#include <pb_decode.h>
7#include "unittests.h"
8#include "custom_naming_style_other.pb.h"
9#include "custom_naming_style_importer.pb.h"
10
11int main()
12{
13 int status = 0;
14 MainMessage defaultMessage = MAIN_MESSAGE_INIT_DEFAULT;
15
16 TEST(defaultMessage.myOwnEnum == MY_ENUM_MY_ENUM_NONE);
17 TEST(defaultMessage.importedEnum == THE_OTHER_ENUM_OTHER_UNSET);
18 TEST(defaultMessage.anotherImportedEnum == ANOTHER_ENUM_ANOTHER_UNSET);
19
20 return status;
21}
#define TEST(x)
Definition test.h:3