mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 13:53:36 +02:00
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.
12 lines
266 B
C++
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);
|
|
}
|