Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/b/i/biopython-1.63/Tests/test_HotRand.py   biopython(Download)
        hot_random = HotRandom()
        for j in range(0, 200):
            rand_num = hot_random.hot_rand(91, 37)
            rand_seq.append(rand_num)
        self.assertTrue(are_items_in_range(rand_seq, 91, 37),
                        "Got an out of range number")
        rand_seq = []
        for j in range(0, 200):
            rand_num = hot_random.hot_rand(19, 0)
        rand_seq = []
        for j in range(0, 200):
            rand_num = hot_random.hot_rand(61, 4)
            rand_seq.append(rand_num )
        self.assertTrue(are_items_in_range(rand_seq, 61, 4),