Size: 447 bytes. View on GitHub


This file was generated exclusively or mostly by an LLM, indicated by  .gpt.  in the filename.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
// cs/apps/trycopilot.ai/text/fonts/mono_test.gpt.cc
#include "cs/apps/trycopilot.ai/text/fonts/mono.hh"

#include "gtest/gtest.h"

using ::cs::apps::trycopilotai::text::fonts::
    SampleCharacterPixel;

TEST(MonoFontTest, SamplesLettersAndSpace) {
  EXPECT_TRUE(SampleCharacterPixel('A', 3, 0));
  EXPECT_FALSE(SampleCharacterPixel('A', 0, 0));
  EXPECT_FALSE(SampleCharacterPixel(' ', 0, 0));
  EXPECT_FALSE(SampleCharacterPixel('#', 0, 0));
}
v0 (commit) © 2025 @p13i.io | Load balancer proxied to: cs-code-viewer-1:8080 in 4ms.