Quicker unit tests

This commit is contained in:
Christophe Riccio
2016-11-20 23:02:20 +01:00
parent c83e38f9fb
commit 9755dea062
2 changed files with 22 additions and 24 deletions

View File

@@ -2,10 +2,10 @@
#include <gli/gli.hpp>
#include <gli/gtx/loader.hpp>
std::size_t const Size = 64;
int test_simplex()
{
std::size_t const Size = 256;
{
std::vector<glm::byte> ImageData(Size * Size * 3);
@@ -62,8 +62,6 @@ int test_simplex()
int test_perlin()
{
std::size_t const Size = 256;
{
std::vector<glm::byte> ImageData(Size * Size * 3);
@@ -120,8 +118,6 @@ int test_perlin()
int test_perlin_pedioric()
{
std::size_t const Size = 256;
{
std::vector<glm::byte> ImageData(Size * Size * 3);