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

Test suite for refdes functions. More...

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (GetPrefix)
 Declare the test suite.
 
 BOOST_AUTO_TEST_CASE (RangesStayWithinOneSuffix)
 

Detailed Description

Test suite for refdes functions.

Definition in file test_refdes_utils.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( GetPrefix )

Declare the test suite.

Test the UTIL::GetRefDesPrefix function

Definition at line 39 of file test_refdes_utils.cpp.

References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_TEST_CONTEXT(), and UTIL::GetRefDesPrefix().

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( RangesStayWithinOneSuffix )

Definition at line 65 of file test_refdes_utils.cpp.

References BOOST_CHECK_EQUAL(), and UTIL::FormatRefDesRanges().