// Copyright (c) 2023 - 2025 kio@little-bat.de
// BSD-2-Clause license
// https://opensource.org/licenses/BSD-2-Clause

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"
#define STB_IMAGE_IMPLEMENTATION
#include "extern/stb/stb_image.h"
//
#include "common/Array.h"
#include "common/cdefs.h"
#include "graphics/graphics_types.h"


namespace kilipili
{
doctest::String toString(Array<cstr> log)
{
	if (log.count() == 0) return "{<empty>}";
	cstr s = log[0];
	for (uint i = 1; i < log.count(); i++) { s = catstr(s, ",\n", log[i]); }
	return catstr("{\n", s, "}");
}
} // namespace kilipili

namespace kilipili::Graphics
{
doctest::String toString(ColorMode cm)
{
	return tostr(cm); //
}
} // namespace kilipili::Graphics


#if 0 
// c&p template:

TEST_CASE("")
{
	REQUIRE(1 == 1);
	CHECK(1 == 1);
	SUBCASE("") {}
}

#endif
