MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / testNumberColor

Method testNumberColor

tests/test_rendered_view.cpp:234–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232 // ── Verify number color is VS Code light green ──
233
234 void testNumberColor() {
235 QsciScintilla sci;
236 setupRenderedSci(&sci);
237
238 auto* lexer = qobject_cast<QsciLexerCPP*>(sci.lexer());
239 QVERIFY(lexer != nullptr);
240
241 QCOMPARE(lexer->color(QsciLexerCPP::Number), QColor("#b5cea8"));
242 }
243
244 // ── Verify string color is VS Code orange ──
245

Callers

nothing calls this directly

Calls 1

setupRenderedSciFunction · 0.85

Tested by

no test coverage detected