libcruft-util/test/colour.cpp
Danny Robson e5d99b3370 coord: use stricter member variable names
use tags for the core coordinate structures to specify what names should
be used for the data variables (in the data union)
2015-03-03 04:11:30 +11:00

14 lines
295 B
C++

#include "colour.hpp"
#include "debug.hpp"
int
main (int, char**)
{
// Simple check for symbol visibility
CHECK_EQ (util::colour4f::WHITE.r, 1.f);
CHECK_EQ (util::colour4f::WHITE.g, 1.f);
CHECK_EQ (util::colour4f::WHITE.b, 1.f);
CHECK_EQ (util::colour4f::WHITE.a, 1.f);
}