summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58cf085)
raw | patch | inline | side by side (parent: 58cf085)
author | pjrm <pjrm@users.sourceforge.net> | |
Thu, 8 May 2008 03:04:37 +0000 (03:04 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Thu, 8 May 2008 03:04:37 +0000 (03:04 +0000) |
src/svg/svg-color-test.h | patch | blob | history |
index ad25d506c36fbcaa2714f81892838c19016d2a12..b149b7a447edd12ac218cfcd36d39a310384650a 100644 (file)
--- a/src/svg/svg-color-test.h
+++ b/src/svg/svg-color-test.h
-
#include <cxxtest/TestSuite.h>
#include <cassert>
+#include <cstdlib>
#include "svg/svg-color.h"
#include "svg/svg-icc-color.h"
}
/* And a few completely random ones. */
+ using std::rand;
for (unsigned i = 500; i--;) { /* Arbitrary number of iterations. */
unsigned const rgb24 = (rand() >> 4) & 0xffffff;
check_rgb24(rgb24);