New test program based on gtest.
This commit is contained in:
parent
5e6c537a2d
commit
b7c7d77dac
4 changed files with 203 additions and 0 deletions
11
test/unit/test_conversions.cpp
Normal file
11
test/unit/test_conversions.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "sample_vectors.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(vwr, conversion) {
|
||||
using namespace vwr;
|
||||
|
||||
{
|
||||
svec1 s(10.0f);
|
||||
EXPECT_EQ(s.x(), 10.0f);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue