public class TestEncodeDecodeXSDDecimalIVs extends AbstractEncodeDecodeKeysTestCase
XSDDecimalIV
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestEncodeDecodeXSDDecimalIVs() |
TestEncodeDecodeXSDDecimalIVs(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_BigDecimal_500() |
void |
test_BigDecimal_zeroPrecisionNotPreserved()
Unit test demonstrates that precision is not preserved by the encoding.
|
void |
test_encodeDecode_XSDDecimal_3()
Unit test for
XSDDecimalIV . |
void |
test_encodeDecode_XSDDecimal_pos_and_neg_varying_digits()
Unit test of
XSDDecimalIV with positive and negative
BigDecimal s having varying digits after the decimals. |
void |
test_encodeDecode_XSDDecimal_stressTest()
Stress test for
XSDDecimalIV . |
void |
test_encodeDecode_XSDDecimal_trailingZeros()
Unit test of
XSDDecimalIV with trailing zeros. |
void |
test_encodeDecode_XSDDecimal()
Unit tests using xsd:decimal.
|
decodeStatementKey, doComparatorTest, doEncodeDecodeTest, newTermId, setUp, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public TestEncodeDecodeXSDDecimalIVs()
public TestEncodeDecodeXSDDecimalIVs(String name)
name
- public void test_encodeDecode_XSDDecimal_pos_and_neg_varying_digits()
XSDDecimalIV
with positive and negative
BigDecimal
s having varying digits after the decimals.public void test_encodeDecode_XSDDecimal_trailingZeros()
XSDDecimalIV
with trailing zeros. The encoded and
decoded values are consistent, but trailing zeros are removed by the
XSDDecimalIV
encoding.public void test_BigDecimal_zeroPrecisionNotPreserved()
public void test_BigDecimal_500()
public void test_encodeDecode_XSDDecimal()
public void test_encodeDecode_XSDDecimal_3()
XSDDecimalIV
.public void test_encodeDecode_XSDDecimal_stressTest()
XSDDecimalIV
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.