yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
snes_palette_test.cc File Reference
#include "app/gfx/snes_palette.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "app/gfx/snes_color.h"
Include dependency graph for snes_palette_test.cc:

Go to the source code of this file.

Namespaces

namespace  yaze
 Main namespace for the application.
 
namespace  yaze::test
 
namespace  yaze::test::anonymous_namespace{snes_palette_test.cc}
 

Functions

unsigned int yaze::test::anonymous_namespace{snes_palette_test.cc}::test_convert (snes_color col)
 
 yaze::test::TEST (SnesPaletteTest, AddColor)
 
 yaze::test::TEST (SnesColorTest, ConvertRgbToSnes)
 
 yaze::test::TEST (SnesColorTest, ConvertSnestoRGB)
 
 yaze::test::TEST (SnesColorTest, ConvertSnesToRGB_Binary)
 
 yaze::test::TEST (SnesColorTest, Extraction)
 
 yaze::test::TEST (SnesColorTest, Convert)
 
uint16_t yaze::test::ConvertRgbToSnes (const snes_color &color)
 
snes_color yaze::test::ConvertSnesToRgb (uint16_t color_snes)
 
std::vector< snes_coloryaze::test::Extract (const char *data, unsigned int offset, unsigned int palette_size)