OpenTTD Source 20250529-master-g10c159a79f
utf8.cpp File Reference

Test functionality from core/utf8. More...

#include "../stdafx.h"
#include "../3rdparty/catch2/catch.hpp"
#include "../core/utf8.hpp"
#include "../safeguards.h"

Go to the source code of this file.

Functions

 TEST_CASE ("Utf8View - empty")
 
 TEST_CASE ("Utf8View - invalid")
 
 TEST_CASE ("Utf8View - iterate")
 

Detailed Description

Test functionality from core/utf8.

Definition in file utf8.cpp.

Function Documentation

◆ TEST_CASE() [1/3]

TEST_CASE ( "Utf8View - empty"  )

Definition at line 18 of file utf8.cpp.

◆ TEST_CASE() [2/3]

TEST_CASE ( "Utf8View - invalid"  )

Definition at line 27 of file utf8.cpp.

◆ TEST_CASE() [3/3]

TEST_CASE ( "Utf8View - iterate"  )

Definition at line 87 of file utf8.cpp.