C# Class Test.CBORObjectTest

Afficher le fichier Open project: peteroupc/CBOR

Méthodes publiques

Méthode Description
CharString ( int cp, bool quoted, char charbuf ) : string
GetNumberData ( ) : CBORObject
TestFailingJSON ( string str ) : void
TestFailingJSON ( string str, CBOREncodeOptions opt ) : void
TestSucceedingJSON ( string str ) : CBORObject
TestWrite3 ( ) : void

Private Methods

Méthode Description
AreEqualExact ( double a, double b ) : void
AreEqualExact ( float a, float b ) : void
AsED ( CBORObject obj ) : PeterO.Numbers.EDecimal
AssertReadThree ( byte bytes ) : void
AssertReadThree ( byte bytes, CBORObject cbor ) : void
AssertWriteThrow ( CBORObject cbor ) : void
CompareDecimals ( CBORObject o1, CBORObject o2 ) : void
StringToInt ( string str ) : int
StringToLong ( string str ) : long
TestAbs ( ) : void
TestAdd ( ) : void
TestAddConverter ( ) : void
TestAddTagHandler ( ) : void
TestAddition ( ) : void
TestAsBoolean ( ) : void
TestAsByte ( ) : void
TestAsDouble ( ) : void
TestAsEDecimal ( ) : void
TestAsEFloat ( ) : void
TestAsEInteger ( ) : void
TestAsERational ( ) : void
TestAsInt16 ( ) : void
TestAsInt32 ( ) : void
TestAsInt64 ( ) : void
TestAsSByte ( ) : void
TestAsSingle ( ) : void
TestAsString ( ) : void
TestAsUInt16 ( ) : void
TestAsUInt32 ( ) : void
TestAsUInt64 ( ) : void
TestCanFitInDouble ( ) : void
TestCanFitInInt32 ( ) : void
TestCanFitInInt64 ( ) : void
TestCanFitInSingle ( ) : void
TestCanTruncatedIntFitInInt32 ( ) : void
TestCanTruncatedIntFitInInt64 ( ) : void
TestCompareTo ( ) : void
TestContainsKey ( ) : void
TestCount ( ) : void
TestDecodeFromBytes ( ) : void
TestDecodeFromBytesNoDuplicateKeys ( ) : void
TestDivide ( ) : void
TestEI ( ) : void
TestEncodeToBytes ( ) : void
TestEquals ( ) : void
TestEquivalentNegativeInfinity ( ) : void
TestEquivalentPositiveInfinity ( ) : void
TestFalse ( ) : void
TestFromJSONString ( ) : void
TestFromObject ( ) : void
TestFromObjectAndTag ( ) : void
TestFromSimpleValue ( ) : void
TestGetByteString ( ) : void
TestGetHashCode ( ) : void
TestGetTags ( ) : void
TestHasTag ( ) : void
TestInsert ( ) : void
TestIsFalse ( ) : void
TestIsFinite ( ) : void
TestIsInfinity ( ) : void
TestIsIntegral ( ) : void
TestIsNaN ( ) : void
TestIsNegativeInfinity ( ) : void
TestIsNull ( ) : void
TestIsPositiveInfinity ( ) : void
TestIsTagged ( ) : void
TestIsTrue ( ) : void
TestIsUndefined ( ) : void
TestIsZero ( ) : void
TestItem ( ) : void
TestKeys ( ) : void
TestMostInnerTag ( ) : void
TestMostOuterTag ( ) : void
TestMultiply ( ) : void
TestNegate ( ) : void
TestNegativeTenDigitLong ( ) : void
TestNegativeZero ( ) : void
TestNewArray ( ) : void
TestNewMap ( ) : void
TestOperatorAddition ( ) : void
TestOperatorDivision ( ) : void
TestOperatorModulus ( ) : void
TestOperatorMultiply ( ) : void
TestOperatorSubtraction ( ) : void
TestRead ( ) : void
TestReadJSON ( ) : void
TestRemainder ( ) : void
TestRemove ( ) : void
TestSet ( ) : void
TestSign ( ) : void
TestSimpleValue ( ) : void
TestSubtract ( ) : void
TestToJSONString ( ) : void
TestToString ( ) : void
TestTrue ( ) : void
TestType ( ) : void
TestUntag ( ) : void
TestUntagOne ( ) : void
TestValues ( ) : void
TestWrite ( ) : void
TestWrite2 ( ) : void
TestWriteExtra ( ) : void
TestWriteJSON ( ) : void
TestWriteJSONTo ( ) : void
TestWriteObj ( object obj ) : void
TestWriteObj ( object obj, object objTest ) : void
TestWriteTo ( ) : void
TestZero ( ) : void

Method Details

CharString() public méthode

public CharString ( int cp, bool quoted, char charbuf ) : string
cp int
quoted bool
charbuf char
Résultat string

GetNumberData() public static méthode

public static GetNumberData ( ) : CBORObject
Résultat CBORObject

TestFailingJSON() public static méthode

public static TestFailingJSON ( string str ) : void
str string
Résultat void

TestFailingJSON() public static méthode

public static TestFailingJSON ( string str, CBOREncodeOptions opt ) : void
str string
opt PeterO.Cbor.CBOREncodeOptions
Résultat void

TestSucceedingJSON() public static méthode

public static TestSucceedingJSON ( string str ) : CBORObject
str string
Résultat CBORObject

TestWrite3() public méthode

public TestWrite3 ( ) : void
Résultat void