Test.CBORObjectTest.TestIsInfinity C# (CSharp) Méthode

TestIsInfinity() private méthode

private TestIsInfinity ( ) : void
Résultat void
        public void TestIsInfinity()
        {
            Assert.IsTrue(CBORObject.PositiveInfinity.IsInfinity());
              Assert.IsTrue(CBORObject.NegativeInfinity.IsInfinity());
              Assert.IsTrue(CBORObject.DecodeFromBytes(new byte[] { (byte)0xfa, 0x7f,
            (byte)0x80, 0x00, 0x00 }).IsInfinity());
        }
CBORObjectTest