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

Test suite for general string functions. More...

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (TrailingInt)
 Declare the test suite.
 
 BOOST_AUTO_TEST_CASE (NaturalNumberCompare)
 Test the StrNumCmp method.
 
 BOOST_AUTO_TEST_CASE (Double2Str)
 Test the GetTrailingInt method.
 

Detailed Description

Test suite for general string functions.

Definition in file test_kicad_string.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( Double2Str  )

Test the GetTrailingInt method.

Definition at line 122 of file test_kicad_string.cpp.

References FormatDouble2Str(), and UIDouble2Str().

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( NaturalNumberCompare  )

Test the StrNumCmp method.

Definition at line 66 of file test_kicad_string.cpp.

References StrNumCmp().

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( TrailingInt  )

Declare the test suite.

Test the GetTrailingInt method.

Definition at line 43 of file test_kicad_string.cpp.

References GetTrailingInt().