[C++] Add unit test for native_type usage

This commit is contained in:
Alexey Geraskin
2019-07-16 18:20:21 +03:00
parent 8525b984ce
commit 0a4bf1d6d3
7 changed files with 93 additions and 0 deletions

16
tests/vector3d.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef VECTOR3D_H
#define VECTOR3D_H
namespace Native {
struct Vector3D {
public:
double x;
double y;
double z;
Vector3D() = default;
Vector3D(double x, double y, double z) { this->x = x; this->y = y; this->z = z; }
};
}
#endif // VECTOR3D_H