コード例 #1
0
def test_main(type="short"):
    import pystone
    loops = {
        "full": 50000,
        "short": 50000,
        "medium": 250000,
        "long": 1000000
    }[type]
    pystone.main(loops)
コード例 #2
0
ファイル: test_pystone.py プロジェクト: 89sos98/main
def test_main(type="short"):
    import pystone
    loops = { "full": 50000, "short" : 50000, "medium" : 250000, "long" : 1000000 }[type]
    pystone.main(loops)
コード例 #3
0
ファイル: main.py プロジェクト: weimingtom/pyjvm
import pystone

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