コード例 #1
0
ファイル: tests.py プロジェクト: welms/dps
def test_reverse():
    ch = GaCastHistory(standard_spells, 1, 8.4).random_fill()
    print ch
    ch._mutate_reverse()
    print ch
コード例 #2
0
ファイル: tests.py プロジェクト: welms/dps
def test_interleave():
    ch1 = GaCastHistory(standard_spells, 1, 8.4).random_fill()
    ch2 = GaCastHistory(standard_spells, 1, 8.4).random_fill()
    print repr(ch1)
    print repr(ch2)
    print repr(ch1._breed_interleave(ch2))