mraa: rename from maa to mraa
[contrib/mraa.git] / tests / mraa_test.cxx
1 #include <mraa.h>
2 #include "gtest/gtest.h"
3 #include "version.h"
4
5 /* Careful, this test will only attempt to check the returned version is valid,
6  * it doesn't try to check the version is a release one.
7  */
8 TEST (basic, mraa_get_version) {
9     char bar[64];
10     strcpy(bar, mraa_get_version());
11     ASSERT_STREQ(mraa_get_version(), gVERSION);
12 }