KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drc_test_utils.h File Reference

General utilities for DRC-related PCB tests. More...

#include <iostream>
#include <pcb_marker.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.
 

Detailed Description

General utilities for DRC-related PCB tests.

Definition in file drc_test_utils.h.

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().