versadac  1
versadac - Scalable Recorder Firmware
Public Member Functions | List of all members
testNumberToString__isNumeric Class Reference

Public Member Functions

 testNumberToString__isNumeric (const std::string &name)
 
void testPositive (void)
 
void testNegative (void)
 
void testPositive_ScientificNotation (void)
 
void testNegative_ScientificNotation (void)
 
void testPositive_SignedScientificNotation (void)
 
void testNegative_SignedScientificNotation (void)
 
void testStrict (void)
 
void testNotStrict (void)
 
void testNotNumbers (void)
 
- Public Member Functions inherited from BaseTest
 BaseTest (const std::string &name)
 
virtual void setUp (const std::string &methodName)
 
virtual void tearDown (void)
 

Additional Inherited Members

- Protected Attributes inherited from BaseTest
const std::string _name
 
libjson_CodeCoverage * coverage
 

Member Function Documentation

void testNumberToString__isNumeric::testNegative ( void  )

Tests negative numbers with regular scientifc notation

void testNumberToString__isNumeric::testNegative_ScientificNotation ( void  )

Tests negative numbers with regular scientifc notation

void testNumberToString__isNumeric::testNegative_SignedScientificNotation ( void  )

Tests negative numbers with scientific notiation that has a sign in it

void testNumberToString__isNumeric::testNotNumbers ( void  )

This tests values that aren't numbers at all, to make sure they are flagged as not valid

void testNumberToString__isNumeric::testNotStrict ( void  )

Tests that the extra common notations that libjson supports all test out as valid

void testNumberToString__isNumeric::testPositive ( void  )

Tests regular positive numbers in various forms

void testNumberToString__isNumeric::testPositive_ScientificNotation ( void  )

Tests positive numbers with scientific notiation that has a sign in it

void testNumberToString__isNumeric::testPositive_SignedScientificNotation ( void  )

Tests positive numbers with scientific notiation that has a sign in it

void testNumberToString__isNumeric::testStrict ( void  )

Tests that in strict mode, libjson isn't relaxed about what is and isn't a valid number. libjson by default accepts a few extra common notations.


The documentation for this class was generated from the following files: