Package net.flexbencode.bencode

Examples of net.flexbencode.bencode.BencodeInt


import net.flexbencode.bencode.BencodeType;

public class BencodeDataTest {
    @Test
    public void testIntCreation () {
        BencodeInt d = BencodeData.createBencodeInt(1L);
        assertEquals(BencodeType.INT, d.getType());
        assertEquals(1L, d.getInt());
    }
View Full Code Here

TOP

Related Classes of net.flexbencode.bencode.BencodeInt

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.