ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::test Namespace Reference

Functions

bool CommaDecimalLocaleIsExpected ()
 
std::string NoCommaDecimalLocaleMessage ()
 

Variables

constexpr const char *const commaDecimalLocales []
 

Function Documentation

◆ CommaDecimalLocaleIsExpected()

bool itk::test::CommaDecimalLocaleIsExpected ( )
inline

True where the OS ships decimal-comma locales unconditionally, so finding none is a broken runner; a Linux image legitimately may have no locale-gen.

Definition at line 35 of file itkTestNumericLocale.h.

◆ NoCommaDecimalLocaleMessage()

std::string itk::test::NoCommaDecimalLocaleMessage ( )
inline

Definition at line 45 of file itkTestNumericLocale.h.

Variable Documentation

◆ commaDecimalLocales

const char* const itk::test::commaDecimalLocales[]
inlineconstexpr
Initial value:
= { "de_DE.UTF-8", "fr_FR.UTF-8", "nl_NL.UTF-8",
"it_IT.UTF-8", "de-DE", "German_Germany.1252",
"French_France.1252" }

Decimal-comma locale names in POSIX and Windows spelling; a test loops over these and skips the names its runner does not provide.

Definition at line 28 of file itkTestNumericLocale.h.