def test_reverse(): ch = GaCastHistory(standard_spells, 1, 8.4).random_fill() print ch ch._mutate_reverse() print ch
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))