C# 클래스 Test.CBORTestCommon

파일 보기 프로젝트 열기: peteroupc/CBOR 1 사용 예제들

공개 메소드들

메소드 설명
AssertRoundTrip ( CBORObject o ) : void
AssertSer ( CBORObject o, String s ) : void
FromBytesTestAB ( byte b ) : CBORObject
RandomCBORArray ( RandomGenerator rand, int depth ) : CBORObject
RandomCBORMap ( RandomGenerator rand, int depth ) : CBORObject
RandomCBORObject ( RandomGenerator rand ) : CBORObject
RandomCBORObject ( RandomGenerator rand, int depth ) : CBORObject
RandomCBORTaggedObject ( RandomGenerator rand, int depth ) : CBORObject
RandomNumber ( RandomGenerator rand ) : CBORObject
RandomNumberOrRational ( RandomGenerator rand ) : CBORObject
TestNumber ( CBORObject o ) : void

비공개 메소드들

메소드 설명
FromBytesA ( byte b ) : CBORObject
FromBytesB ( byte b ) : CBORObject

메소드 상세

AssertRoundTrip() 공개 정적인 메소드

public static AssertRoundTrip ( CBORObject o ) : void
o CBORObject
리턴 void

AssertSer() 공개 정적인 메소드

public static AssertSer ( CBORObject o, String s ) : void
o CBORObject
s String
리턴 void

FromBytesTestAB() 공개 정적인 메소드

public static FromBytesTestAB ( byte b ) : CBORObject
b byte
리턴 CBORObject

RandomCBORArray() 공개 정적인 메소드

public static RandomCBORArray ( RandomGenerator rand, int depth ) : CBORObject
rand PeterO.RandomGenerator
depth int
리턴 CBORObject

RandomCBORMap() 공개 정적인 메소드

public static RandomCBORMap ( RandomGenerator rand, int depth ) : CBORObject
rand PeterO.RandomGenerator
depth int
리턴 CBORObject

RandomCBORObject() 공개 정적인 메소드

public static RandomCBORObject ( RandomGenerator rand ) : CBORObject
rand PeterO.RandomGenerator
리턴 CBORObject

RandomCBORObject() 공개 정적인 메소드

public static RandomCBORObject ( RandomGenerator rand, int depth ) : CBORObject
rand PeterO.RandomGenerator
depth int
리턴 CBORObject

RandomCBORTaggedObject() 공개 정적인 메소드

public static RandomCBORTaggedObject ( RandomGenerator rand, int depth ) : CBORObject
rand PeterO.RandomGenerator
depth int
리턴 CBORObject

RandomNumber() 공개 정적인 메소드

public static RandomNumber ( RandomGenerator rand ) : CBORObject
rand PeterO.RandomGenerator
리턴 CBORObject

RandomNumberOrRational() 공개 정적인 메소드

public static RandomNumberOrRational ( RandomGenerator rand ) : CBORObject
rand PeterO.RandomGenerator
리턴 CBORObject

TestNumber() 공개 정적인 메소드

public static TestNumber ( CBORObject o ) : void
o CBORObject
리턴 void