From be983bd7cba6746765e34627c0c9eaff61a7519f Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 31 Aug 2015 17:33:22 +0200 Subject: [PATCH] Added test --- doc/man.doxy | 2 +- test/core/core_type_vec2.cpp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/man.doxy b/doc/man.doxy index d0379e34..faa82852 100644 --- a/doc/man.doxy +++ b/doc/man.doxy @@ -51,7 +51,7 @@ PROJECT_BRIEF = # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy # the logo to the output directory. -PROJECT_LOGO = E:/Source/G-Truc/glm/doc/logo.png +PROJECT_LOGO = D:/Source/G-Truc/glm/doc/logo.png # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path # into which the generated documentation will be written. If a relative path is diff --git a/test/core/core_type_vec2.cpp b/test/core/core_type_vec2.cpp index 4730e9b8..69b5957e 100644 --- a/test/core/core_type_vec2.cpp +++ b/test/core/core_type_vec2.cpp @@ -229,6 +229,12 @@ int test_vec2_ctor() { int Error = 0; + { + glm::vec2 A(1); + glm::vec2 B(A); + Error += A == B ? 0 : 1; + } + # if GLM_HAS_TRIVIAL_QUERIES // Error += std::is_trivially_default_constructible::value ? 0 : 1; // Error += std::is_trivially_copy_assignable::value ? 0 : 1;