Beispiel #1
0
def test_main(type="short"):
    import pystone
    loops = {
        "full": 50000,
        "short": 50000,
        "medium": 250000,
        "long": 1000000
    }[type]
    pystone.main(loops)
Beispiel #2
0
def test_main(type="short"):
    import pystone
    loops = { "full": 50000, "short" : 50000, "medium" : 250000, "long" : 1000000 }[type]
    pystone.main(loops)
Beispiel #3
0
import pystone

for i in xrange(20):
    pystone.main()