MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / useColourOnPlatform

Function useColourOnPlatform

tests/catch.hpp:8044–8055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8042 };
8043
8044 bool useColourOnPlatform() {
8045 return
8046#ifdef CATCH_PLATFORM_MAC
8047 !isDebuggerActive() &&
8048#endif
8049#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
8050 isatty(STDOUT_FILENO)
8051#else
8052 false
8053#endif
8054 ;
8055 }
8056 IColourImpl* platformColourInstance() {
8057 ErrnoGuard guard;
8058 IConfigPtr config = getCurrentContext().getConfig();

Callers 1

platformColourInstanceFunction · 0.85

Calls 1

isDebuggerActiveFunction · 0.85

Tested by

no test coverage detected