Files
CSFML/test/System/Buffer.test.cpp
T
Chris Thrasher c5158c77b4 Move CSFML source files to CSFML/ directory
This helps make it easier to distinguish SFML files from CSFML files.
This is especially important for CSFML private headers which are
often C++ code with .hpp file extensions. This change means SFML and
CSFML can use headers with the same name without conflict.
2024-08-24 14:05:06 -06:00

12 lines
266 B
C++

#include <CSFML/System/Buffer.h>
#include <catch2/catch_test_macros.hpp>
TEST_CASE("[System] sfBuffer")
{
sfBuffer* buffer = sfBuffer_create();
CHECK(sfBuffer_getSize(buffer) == 0);
CHECK(sfBuffer_getData(buffer) == 0);
sfBuffer_destroy(buffer);
}