Examples of BencodeInt


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
Copyright © 2018 www.massapi.com. 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.