Example #1
0
    def test_decode_5(self):
        '''Test case.'''

        ip_list = ['192.168.150.6', 110536896]

        self.assertEqual(ip_list[0], bic.big2ip(ip_list[1]))
Example #2
0
    def test_decode_4(self):
        '''Test case.'''

        ip_list = ['10.1.209.21', 366018826]

        self.assertEqual(ip_list[0], bic.big2ip(ip_list[1]))
Example #3
0
    def test_decode_2(self):
        '''Test case.'''

        ip_list = ['10.1.209.2', 47251722]

        self.assertEqual(ip_list[0], bic.big2ip(ip_list[1]))
Example #4
0
    def test_decode_3(self):
        '''Test case.'''

        ip_list = ['10.1.209.1', 30474506]

        self.assertEqual(ip_list[0], bic.big2ip(ip_list[1]))
Example #5
0
    def test_decode_1(self):
        '''Test case.'''

        ip_list = ['10.1.209.22', 382796042]

        self.assertEqual(ip_list[0], bic.big2ip(ip_list[1]))