def test_strout(self):
     """
     StrOut
     """
     path = os.path.join(self.PATH, "genstr")
     strout = StrOut.from_file(os.path.join(path, "strs", "99", "str.out"))
     print(strout)
     strout.change_order([1, 2, 3, 4, 5, 6, 0])
     print(strout)
def change_order(order):
    """
    順番を入れ替える
    ""でくくって新しい順番を与える
    例: "0 2 1"
    """
    strout = StrOut.from_file("str.out")
    strout.change_order([int(i) for i in order.split()])
    strout.make_file("str.out_rev")