MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / test

Function test

__tests__/cpp-template-instantiations.test.ts:909–913  ·  view source on GitHub ↗
(kind: string)

Source from the content-addressed store, hash-verified

907
908 it('keeps two headers that declare one fixture name apart', async () => {
909 const test = (kind: string): string => lines(
910 'template <typename T> class Shared : public ::testing::Test {};',
911 'TYPED_TEST_SUITE_P(Shared);',
912 `TYPED_TEST_P(Shared, ${kind}) { TypeParam::Go(); }`,
913 );
914 const unit = (kind: string): string => lines(
915 `#include "${kind.toLowerCase()}_test.h"`,
916 `struct ${kind}Type { static int Go() { return 1; } };`,

Calls 1

linesFunction · 0.70

Tested by

no test coverage detected