コード例 #1
0
 def check_37(self):
     assert rotate([[((),),(([]),()),(([(),()]),([()],))],[((),()),(([]),([],)),(([(),
                  ()]),([(),()],))],[(([]),),(([()]),([],)),(([(),(),()]),([(),()],))], 
                  [(([()]),([()],)),(([(),(),([],)]),([(),()],))],[(([(),(),([],)]),([([],
                  [],[]),()],))]]) == [[((),),((),()),(([]),),(([()]),([()],)),(([(),(),
                  ([],)]),([([],[],[]),()],))],[(([]),()),(([]),([],)),(([()]),([],)), 
                  (([(),(),([],)]),([(),()],))],[(([(),()]),([()],)),(([(),()]),([(),()],)), 
                  (([(),(),()]),([(),()],))]]
コード例 #2
0
 def check_35(self):
     assert rotate([[((),)],[((),())]]) == [[((),),((),())]]
コード例 #3
0
 def check_33(self):
     assert rotate([[((),)]]) == [[((),)]]
コード例 #4
0
 def check_32(self):
     assert rotate([[],[[]],[],[[[],[]]],[],[[]],[]]) == [[[],[[],[]],[]]]
コード例 #5
0
 def check_26(self):
     assert rotate([[[]],[]]) == [[[]]]
コード例 #6
0
 def check_24(self):
     assert rotate([[]]) == []