File: Boolean_compilation_test.cpp

package info (click to toggle)
glbinding 3.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,972 kB
  • sloc: cpp: 224,461; javascript: 1,615; sh: 114; makefile: 98
file content (22 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#include <gmock/gmock.h>


#include <glbinding/gl45core/boolean.h>


using namespace gl;


TEST(Boolean, Compilation)
{
    const gl45core::GLboolean b1 = gl45core::GL_TRUE;
    const gl::GLboolean b2 = gl::GL_TRUE;
    const GLboolean b3 = GL_TRUE;

    (void)b1;
    (void)b2;
    (void)b3;

    SUCCEED();  // compiling this file without errors and warnings results in successful test
}