|
SILICON
|
#include "tests.hpp"#include <core/wireUtils.hpp>#include <utils/num_formatting.hpp>#include <string>#include <tuple>#include <vector>
Go to the source code of this file.
Functions | |
| TEST (NumFormattingTest, FormatsKnownValues) | |
| TEST (NumFormattingTest, MaxValueHasNoMachineIntegerWidthLimit) | |
| TEST (NumFormattingTest, ParsesSupportedNumericFormats) | |
| TEST (NumFormattingTest, ParsesFourStateRawValuesAsMsbFirst) | |
| TEST (NumFormattingTest, RejectsInvalidInput) | |
| TEST (NumFormattingTest, SignedUsesTwosComplementWidth) | |
| TEST (NumFormattingTest, ResizesParsedSignedValuesWithTwosComplementSemantics) | |
| TEST (NumFormattingTest, ResizesUnsignedAndRawValuesWithZeroExtension) | |
| TEST (NumFormattingTest, NumericFitChecksAreSeparateFromBitVectorNormalization) | |
| TEST (NumFormattingTest, SupportsValuesWiderThanMachineIntegers) | |
| TEST (NumFormattingTest, RoundTripsArbitraryPrecisionValuesAcrossNumericBases) | |
| TEST (NumFormattingTest, PreservesExplicitBaseWidthsWhenParsingLeadingZeroes) | |
| TEST (NumFormattingTest, FormatsWidthLimitedIntegers) | |
| TEST (NumFormattingTest, ParsesWidthLimitedIntegers) | |
| TEST (NumFormattingTest, FormatsArbitraryPrecisionIntegers) | |
| TEST (NumFormattingTest, ParsesArbitraryPrecisionIntegersAcrossNumericBases) | |
| TEST (NumFormattingTest, ParsesArbitraryPrecisionSignedBounds) | |
| TEST (NumFormattingTest, ConvertsArbitraryPrecisionIntegersToFixedWidthBusValues) | |
| TEST (NumFormattingTest, ConvertsBusValuesToUnsignedArbitraryPrecisionIntegers) | |
| TEST (NumFormattingTest, RejectsNonbinaryBusValuesWhenConvertingToIntegers) | |
| TEST (NumFormattingTest, ConvertsNegativeIntegersToTwosComplementBusValues) | |
| TEST (NumFormattingTest, EnforcesIntegerWidthsAndFormats) | |
| TEST | ( | NumFormattingTest | , |
| ConvertsArbitraryPrecisionIntegersToFixedWidthBusValues | ) |
Definition at line 267 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ConvertsBusValuesToUnsignedArbitraryPrecisionIntegers | ) |
Definition at line 277 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ConvertsNegativeIntegersToTwosComplementBusValues | ) |
Definition at line 294 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| EnforcesIntegerWidthsAndFormats | ) |
Definition at line 313 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| FormatsArbitraryPrecisionIntegers | ) |
Definition at line 215 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| FormatsKnownValues | ) |
Definition at line 29 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| FormatsWidthLimitedIntegers | ) |
Definition at line 187 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| MaxValueHasNoMachineIntegerWidthLimit | ) |
Definition at line 42 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| NumericFitChecksAreSeparateFromBitVectorNormalization | ) |
Definition at line 132 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ParsesArbitraryPrecisionIntegersAcrossNumericBases | ) |
Definition at line 233 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ParsesArbitraryPrecisionSignedBounds | ) |
Definition at line 252 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ParsesFourStateRawValuesAsMsbFirst | ) |
Definition at line 67 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ParsesSupportedNumericFormats | ) |
Definition at line 48 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ParsesWidthLimitedIntegers | ) |
Definition at line 197 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| PreservesExplicitBaseWidthsWhenParsingLeadingZeroes | ) |
Definition at line 180 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| RejectsInvalidInput | ) |
Definition at line 80 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| RejectsNonbinaryBusValuesWhenConvertingToIntegers | ) |
Definition at line 286 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ResizesParsedSignedValuesWithTwosComplementSemantics | ) |
Definition at line 100 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| ResizesUnsignedAndRawValuesWithZeroExtension | ) |
Definition at line 120 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| RoundTripsArbitraryPrecisionValuesAcrossNumericBases | ) |
Definition at line 159 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| SignedUsesTwosComplementWidth | ) |
Definition at line 89 of file num_formatting.cpp.
| TEST | ( | NumFormattingTest | , |
| SupportsValuesWiderThanMachineIntegers | ) |
Definition at line 146 of file num_formatting.cpp.