mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 21:33:59 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -12,10 +12,8 @@
|
||||
UNIT_TEST(CheckTrafficArrowTextures)
|
||||
{
|
||||
static std::vector<std::string> skinPaths = {"6plus", "mdpi", "hdpi", "xhdpi", "xxhdpi", "xxxhdpi"};
|
||||
static std::vector<MapStyle> styles = {MapStyle::MapStyleDefaultLight,
|
||||
MapStyle::MapStyleDefaultDark,
|
||||
MapStyle::MapStyleVehicleLight,
|
||||
MapStyle::MapStyleVehicleDark};
|
||||
static std::vector<MapStyle> styles = {MapStyle::MapStyleDefaultLight, MapStyle::MapStyleDefaultDark,
|
||||
MapStyle::MapStyleVehicleLight, MapStyle::MapStyleVehicleDark};
|
||||
|
||||
TestingGraphicsContext context;
|
||||
for (auto const & style : styles)
|
||||
@@ -23,12 +21,10 @@ UNIT_TEST(CheckTrafficArrowTextures)
|
||||
GetStyleReader().SetCurrentStyle(style);
|
||||
for (auto const & skinPath : skinPaths)
|
||||
{
|
||||
dp::StaticTexture texture(make_ref(&context), "traffic-arrow.png", skinPath,
|
||||
dp::TextureFormat::RGBA8, nullptr);
|
||||
dp::StaticTexture texture(make_ref(&context), "traffic-arrow.png", skinPath, dp::TextureFormat::RGBA8, nullptr);
|
||||
TEST(texture.IsLoadingCorrect(), ());
|
||||
|
||||
dp::StaticTexture texture2(make_ref(&context), "area-hatching.png", skinPath,
|
||||
dp::TextureFormat::RGBA8, nullptr);
|
||||
dp::StaticTexture texture2(make_ref(&context), "area-hatching.png", skinPath, dp::TextureFormat::RGBA8, nullptr);
|
||||
TEST(texture2.IsLoadingCorrect(), ());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user