mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
17 lines
315 B
C++
17 lines
315 B
C++
#include <text/case.h>
|
|
|
|
void test_upcase ()
|
|
{
|
|
OAK_ASSERT_EQ(text::uppercase("æbleGRØD"), "ÆBLEGRØD");
|
|
}
|
|
|
|
void test_downcase ()
|
|
{
|
|
OAK_ASSERT_EQ(text::lowercase("æbleGRØD"), "æblegrød");
|
|
}
|
|
|
|
void test_togglecase ()
|
|
{
|
|
OAK_ASSERT_EQ(text::opposite_case("Den Grønne æbleGRØD"), "dEN gRØNNE ÆBLEgrød");
|
|
}
|