Commit 0a6bcae5 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Fix nitpicks

parent dd7cd6b8
Pipeline #98625 passed with stage
in 1 minute and 56 seconds
......@@ -7,21 +7,21 @@
void Konsole::CharacterTest::testCanBeGrouped()
{
// Test for Capital Latin
for (uint32_t c = U'A'; c <= U'Z'; c++) {
for (uint32_t c = U'A'; c <= U'Z'; ++c) {
Konsole::Character uppercase_latin_char(c);
const bool res = uppercase_latin_char.canBeGrouped(false, false);
QCOMPARE(res, true);
QVERIFY(res);
}
// Test for Non Capital Latin
for (uint32_t c = U'a'; c <= U'z'; c++) {
for (uint32_t c = U'a'; c <= U'z'; ++c) {
Konsole::Character lowercase_latin_char(c);
const bool res = lowercase_latin_char.canBeGrouped(false, false);
QCOMPARE(res, true);
QVERIFY(res);
}
// Test for Braille
for (uint32_t c = 0x2800; c <= 0x28ff; c++) {
for (uint32_t c = 0x2800; c <= 0x28ff; ++c) {
Konsole::Character braille_char(c);
const bool res = braille_char.canBeGrouped(false, false);
QCOMPARE(res, false);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment