KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drc_test_utils.cpp File Reference
#include "drc_test_utils.h"

Go to the source code of this file.

Namespaces

namespace  KI_TEST
 

Functions

std::ostream & boost_test_print_type (std::ostream &os, const PCB_MARKER &aMarker)
 Define a stream function for logging PCB_MARKER test assertions.
 
bool KI_TEST::IsDrcMarkerOfType (const PCB_MARKER &aMarker, int aErrorCode)
 Predicate for testing the type of a DRC marker.
 

Function Documentation

◆ boost_test_print_type()

std::ostream & boost_test_print_type ( std::ostream &  os,
const PCB_MARKER aMarker 
)

Define a stream function for logging PCB_MARKER test assertions.

This has to be in the same namespace as PCB_MARKER

Definition at line 27 of file drc_test_utils.cpp.

References MARKER_BASE::GetRCItem().