mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 02:04:35 +00:00
Added test
This commit is contained in:
parent
ebdd48fa6f
commit
be983bd7cb
@ -51,7 +51,7 @@ PROJECT_BRIEF =
|
|||||||
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
|
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
|
||||||
# the logo to the output directory.
|
# 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
|
# 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
|
# into which the generated documentation will be written. If a relative path is
|
||||||
|
@ -229,6 +229,12 @@ int test_vec2_ctor()
|
|||||||
{
|
{
|
||||||
int Error = 0;
|
int Error = 0;
|
||||||
|
|
||||||
|
{
|
||||||
|
glm::vec2 A(1);
|
||||||
|
glm::vec2 B(A);
|
||||||
|
Error += A == B ? 0 : 1;
|
||||||
|
}
|
||||||
|
|
||||||
# if GLM_HAS_TRIVIAL_QUERIES
|
# if GLM_HAS_TRIVIAL_QUERIES
|
||||||
// Error += std::is_trivially_default_constructible<glm::vec2>::value ? 0 : 1;
|
// Error += std::is_trivially_default_constructible<glm::vec2>::value ? 0 : 1;
|
||||||
// Error += std::is_trivially_copy_assignable<glm::vec2>::value ? 0 : 1;
|
// Error += std::is_trivially_copy_assignable<glm::vec2>::value ? 0 : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user