Lumiera  0.pre.03
»edit your freedom«
buffer-metadata-test.cpp File Reference

Go to the source code of this file.

Description

unit test BufferMetadata_test

Definition in file buffer-metadata-test.cpp.

#include "lib/error.hpp"
#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "lib/util.hpp"
#include "steam/engine/buffer-metadata.hpp"
#include "steam/engine/testframe.hpp"
#include <cstdlib>
#include <cstring>
#include <memory>

Classes

class  BufferMetadata_test
 

Functions

template<typename TY >
TY & accessAs (metadata::Entry &entry)
 
 LAUNCHER (BufferMetadata_test, "unit player")
 Register this test class... More...
 

Variables

HashVal JUST_SOMETHING = 123
 
const size_t SIZE_A = 1 + rand() % TEST_MAX_SIZE
 
const size_t SIZE_B = 1 + rand() % TEST_MAX_SIZE
 
void *const SOME_POINTER = &JUST_SOMETHING
 
const size_t TEST_MAX_SIZE = 1024 * 1024
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::engine
 Lumiera's render engine core and operational control.
 

Function Documentation

◆ LAUNCHER()

steam::engine::test::LAUNCHER ( BufferMetadata_test  ,
"unit player"   
)

Register this test class...