vectorwrapper/test/unit/test_conversions.cpp

12 lines
156 B
C++
Raw Normal View History

2015-07-23 21:10:03 +00:00
#include "sample_vectors.hpp"
#include <gtest/gtest.h>
TEST(vwr, conversion) {
using namespace vwr;
{
svec1 s(10.0f);
EXPECT_EQ(s.x(), 10.0f);
}
}