KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_lset.cpp File Reference

Go to the source code of this file.

Classes

struct  LSETS_TO_TEST
 

Functions

 BOOST_AUTO_TEST_CASE (FmtHex)
 
 BOOST_AUTO_TEST_CASE (FmtBin)
 

Variables

static const std::vector< LSETS_TO_TESTtype_to_ext_cases
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( FmtBin  )

Definition at line 56 of file test_lset.cpp.

References type_to_ext_cases.

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( FmtHex  )

Definition at line 47 of file test_lset.cpp.

References type_to_ext_cases.

Variable Documentation

◆ type_to_ext_cases

const std::vector<LSETS_TO_TEST> type_to_ext_cases
static
Initial value:
= {
{ LSET( 2, F_Cu, F_Fab ), "0020000_00000001",
"0000|0000_0010|0000_0000|0000_0000|0000_0000|0000_0000|0000_0000|0000_0001" },
{ LSET( 3, In14_Cu, B_Adhes, Rescue ), "8000001_00004000",
"1000|0000_0000|0000_0000|0000_0001|0000_0000|0000_0000|0100_0000|0000_0000" }
}
LSET is a set of PCB_LAYER_IDs.
Definition: layer_ids.h:574
@ B_Adhes
Definition: layer_ids.h:97
@ F_Fab
Definition: layer_ids.h:120
@ Rescue
Definition: layer_ids.h:133
@ In14_Cu
Definition: layer_ids.h:78
@ F_Cu
Definition: layer_ids.h:64

Definition at line 39 of file test_lset.cpp.

Referenced by BOOST_AUTO_TEST_CASE().