Best Python code snippet using uiautomator
diamonds_20200104_1110.py
Source:diamonds_20200104_1110.py
1F1 = {'Name': 'O', 'Number': 1, 'Color': 'Rose',2 'Height': 1, 'Width': 5, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 1, 1, 1, 1]],3 'Options': [[0, False], [90, False]]}4F2 = {'Name': 'Q', 'Number': 2, 'Color': 'Orange',5 'Height': 2, 'Width': 4, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 1, 1, 1], [1, 0, 0, 0]],6 'Options': [[0, False], [90, False], [180, False], [270, False], [0, True], [90, True], [180, True], [270, True]]}7F3 = {'Name': 'Y', 'Number': 3, 'Color': 'Brown',8 'Height': 2, 'Width': 4, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 1, 1, 1], [0, 1, 0, 0]],9 'Options': [[0, False], [90, False], [180, False], [270, False], [0, True], [90, True], [180, True], [270, True]]}10F4 = {'Name': 'S', 'Number': 4, 'Color': 'Black',11 'Height': 2, 'Width': 4, 'Angle': 0, 'Mirror': False, 'Shape': [[0, 1, 1, 1], [1, 1, 0, 0]],12 'Options': [[0, False], [90, False], [180, False], [270, False], [0, True], [90, True], [180, True], [270, True]]}13F5 = {'Name': 'V', 'Number': 5, 'Color': 'Dark Blue',14 'Height': 3, 'Width': 3, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 1, 1], [1, 0, 0], [1, 0, 0]],15 'Options': [[0, False], [90, False], [180, False], [270, False]]}16F6 = {'Name': 'P', 'Number': 6, 'Color': 'Light Blue',17 'Height': 2, 'Width': 3, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 1, 1], [1, 1, 0]],18 'Options': [[0, False], [90, False], [180, False], [270, False], [0, True], [90, True], [180, True], [270, True]]}19F7 = {'Name': 'U', 'Number': 7, 'Color': 'Yellow',20 'Height': 2, 'Width': 3, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 1, 1], [1, 0, 1]],21 'Options': [[0, False], [90, False], [180, False], [270, False]]}22F8 = {'Name': 'Z', 'Number': 8, 'Color': 'Grey',23 'Height': 3, 'Width': 3, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 0, 0], [1, 1, 1], [0, 0, 1]],24 'Options': [[0, False], [90, False], [0, True], [90, True]]}25F9 = {'Name': 'R', 'Number': 9, 'Color': 'Light Green',26 'Height': 3, 'Width': 3, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 0, 0], [1, 1, 1], [0, 1, 0]],27 'Options': [[0, False], [90, False], [180, False], [270, False], [0, True], [90, True], [180, True], [270, True]]}28FA = {'Name': 'T', 'Number': 10, 'Color': 'Dark Green',29 'Height': 3, 'Width': 3, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 1, 1], [0, 1, 0], [0, 1, 0]],30 'Options': [[0, False], [90, False], [180, False], [270, False]]}31FB = {'Name': 'W', 'Number': 11, 'Color': 'Cherry',32 'Height': 3, 'Width': 3, 'Angle': 0, 'Mirror': False, 'Shape': [[1, 1, 0], [0, 1, 1], [0, 0, 1]],33 'Options': [[0, False], [90, False], [180, False], [270, False]]}34FC = {'Name': 'X', 'Number': 12, 'Color': 'Red',35 'Height': 3, 'Width': 3, 'Angle': 0, 'Mirror': False, 'Shape': [[0, 1, 0], [1, 1, 1], [0, 1, 0]],36 'Options': [[0, False]]}37ARR = [F1, F2, F3, F4, F5, F6, F7, F8, F9, FA, FB, FC]38def rotate(source: dict, angle: int) -> dict:39 result = {'Name': source['Name'], 'Number': source['Number'], 'Color': source['Color'],40 'Height': source['Height'], 'Width': source['Width'], 'Angle': angle,41 'Mirror': source['Mirror'], 'Shape': source['Shape']}42 if angle == 90 or angle == -270:43 result['Height'] = source['Width']44 result['Width'] = source['Height']45 result['Shape'] = [[0 for i in range(result['Width'])] for j in range(result['Height'])]46 for j in range(source['Height']):47 for i in range(source['Width']):48 result['Shape'][i][result['Width'] - 1 - j] = source['Shape'][j][i]49 elif angle == 180 or angle == -180:50 result['Shape'] = [[0 for i in range(result['Width'])] for j in range(result['Height'])]51 for j in range(source['Height']):52 for i in range(source['Width']):53 result['Shape'][result['Height'] - 1 - j][result['Width'] - 1 - i] = source['Shape'][j][i]54 elif angle == 270 or angle == -90:55 result['Height'] = source['Width']56 result['Width'] = source['Height']57 result['Shape'] = [[0 for i in range(result['Width'])] for j in range(result['Height'])]58 for j in range(source['Height']):59 for i in range(source['Width']):60 result['Shape'][result['Height'] - 1 - i][j] = source['Shape'][j][i]61 return result62def mirror(source: dict) -> dict:63 result = {'Name': source['Name'], 'Number': source['Number'], 'Color': source['Color'],64 'Height': source['Height'], 'Width': source['Width'], 'Angle': source['Angle'],65 'Mirror': not(source['Mirror']), 'Shape': source['Shape']}66 result['Shape'] = [[0 for i in range(result['Width'])] for j in range(result['Height'])]67 for j in range(source['Height']):68 for i in range(source['Width']):69 result['Shape'][j][result['Width'] - 1 - i] = source['Shape'][j][i]70 return result71def multiprint(source: dict):72 caption = '#' + str(source['Number']) + ' - ' + source['Name'] + ' - ' + str(source['Angle']) + ' - ' + str(source['Mirror'])73 print(caption)74 print(''.join(['-' for i in range(len(caption))]))75 for j in range(source['Height']):76 print(' '.join(map(str,source['Shape'][j])))77 print(''.join(['-' for i in range(len(caption))]))78def print_shape(shape: list):79 print(''.join(['-' for i in range(2* len(shape[0]) - 1)]))80 for j in range(len(shape)):81 print(' '.join(map(str,shape[j])))82 #print(''.join(['-' for i in range(2 * len(shape[0]) - 1)]))83def orientate(task: dict) -> dict:84 l = []85 c = 086 f = 087 for figure in task['Figures']:88 l.append([])89 for option in figure['Options']:90 ready_figure = rotate(mirror(figure) if option[1] else figure, option[0])91 if task['Width'] < ready_figure['Width'] or task['Height'] < ready_figure['Height']:92 continue93 #multiprint(ready_figure)94 for j in range(task['Height'] - ready_figure['Height'] + 1):95 for i in range(task['Width'] - ready_figure['Width'] + 1):96 field = [[0 for a in range(task['Width'])] for b in range(task['Height'])]97 for n in range(ready_figure['Height']):98 for m in range(ready_figure['Width']):99 field[j+n][i+m] = ready_figure['Shape'][n][m]100 #print_shape(field)101 checker = True102 for n in range(len(field)):103 for m in range(len(field[n])):104 if field[n][m] == 0:105 checker = trace(field, m, n, m, n, 0) == 4106 if not checker:107 break108 if not checker:109 break110 if checker:111 l[f].append(field)112 c = c + 1113 f = f + 1114 return {'Height': task['Height'], 'Width': task['Width'], 'Figures': task['Figures'], 'Counter': c, 'List': l}115def merge(field_a: list, field_b: list) -> (list, bool):116 if field_a is None:117 return field_b[:], True118 elif field_b is None:119 return field_a[:], True120 else:121 result = [[0 for a in range(len(field_a[0]))] for b in range(len(field_a))]122 checker = True123 for j in range(len(field_a)):124 for i in range(len(field_a[j])):125 tmp = field_a[j][i] + field_b[j][i]126 result[j][i] = tmp127 if tmp > 1:128 checker = False129 if checker:130 for j in range(len(result)):131 for i in range(len(result[j])):132 if result[j][i] == 0:133 checker = trace(result, i, j, i, j, 0) == 4134 if not checker:135 break136 if not checker:137 break138 #test_left = result[j][i - 1] > 0 if i > 0 else True139 #test_right = result[j][i + 1] > 0 if i < len(result[j]) - 1 else True140 #test_top = result[j - 1][i] > 0 if j > 0 else True141 #test_bottom = result[j + 1][i] > 0 if j < len(result) - 1 else True142 #if test_left and test_right and test_top and test_bottom:143 # checker = False144 #if (not test_left) and test_right and test_top and test_bottom:145 # checker = trace(result, i-1, j, i, j, 1)146 return result, checker147def trace(field: list, i: int, j: int, pi: int, pj: int, r: int) -> int:148 test_left = True if i > pi else (field[j][i - 1] > 0 if i > 0 else True)149 test_right = True if i < pi else (field[j][i + 1] > 0 if i < (len(field[j]) - 1) else True)150 test_top = True if j > pj else (field[j - 1][i] > 0 if j > 0 else True)151 test_bottom = True if j < pj else (field[j + 1][i] > 0 if j < (len(field) - 1) else True)152 if r > 0:153 if test_left and test_right and test_top and test_bottom:154 return r155 elif (not test_left) and test_right and test_top and test_bottom:156 return trace(field, i - 1, j, i, j, r + 1) if r < 3 else 4157 elif test_left and (not test_right) and test_top and test_bottom:158 return trace(field, i + 1, j, i, j, r + 1) if r < 3 else 4159 elif test_left and test_right and (not test_top) and test_bottom:160 return trace(field, i, j - 1, i, j, r + 1) if r < 3 else 4161 elif test_left and test_right and test_top and (not test_bottom):162 return trace(field, i, j + 1, i, j, r + 1) if r < 3 else 4163 elif (not test_left) and (not test_right) and test_top and test_bottom:164 return max(trace(field, i - 1, j, i, j, r + 2), trace(field, i + 1, j, i, j, r + 2)) if r < 2 else 4165 elif test_left and test_right and (not test_top) and (not test_bottom):166 return max(trace(field, i, j - 1, i, j, r + 2), trace(field, i, j + 1, i, j, r + 2)) if r < 2 else 4167 elif (not test_left) and test_right and (not test_top) and test_bottom:168 return max(trace(field, i - 1, j, i, j, r + 2), trace(field, i, j - 1, i, j, r + 2)) if r < 2 else 4169 elif (not test_left) and test_right and test_top and (not test_bottom):170 return max(trace(field, i - 1, j, i, j, r + 2), trace(field, i, j + 1, i, j, r + 2)) if r < 2 else 4171 elif test_left and (not test_right) and (not test_top) and test_bottom:172 return max(trace(field, i + 1, j, i, j, r + 2), trace(field, i, j - 1, i, j, r + 2)) if r < 2 else 4173 elif test_left and (not test_right) and test_top and (not test_bottom):174 return max(trace(field, i + 1, j, i, j, r + 2), trace(field, i, j + 1, i, j, r + 2)) if r < 2 else 4175 elif (not test_left) and (not test_right) and (not test_top) and test_bottom:176 return max(trace(field, i - 1, j, i, j, r + 3), trace(field, i + 1, j, i, j, r + 3),177 trace(field, i, j - 1, i, j, r + 3)) if r < 1 else 4178 elif (not test_left) and (not test_right) and test_top and (not test_bottom):179 return max(trace(field, i - 1, j, i, j, r + 3), trace(field, i + 1, j, i, j, r + 3),180 trace(field, i, j + 1, i, j, r + 3)) if r < 1 else 4181 elif (not test_left) and test_right and (not test_top) and (not test_bottom):182 return max(trace(field, i - 1, j, i, j, r + 3), trace(field, i, j - 1, i, j, r + 3),183 trace(field, i, j + 1, i, j, r + 3)) if r < 1 else 4184 elif test_left and (not test_right) and (not test_top) and (not test_bottom):185 return max(trace(field, i + 1, j, i, j, r + 3), trace(field, i, j - 1, i, j, r + 3),186 trace(field, i, j + 1, i, j, r + 3)) if r < 1 else 4187 elif (not test_left) and (not test_right) and (not test_top) and (not test_bottom):188 return 4189 else:190 if test_left and test_right and test_top and test_bottom:191 return r192 elif (not test_left) and test_right and test_top and test_bottom:193 return trace(field, i - 1, j, i, j, r + 1) if r < 3 else 4194 elif test_left and (not test_right) and test_top and test_bottom:195 return trace(field, i + 1, j, i, j, r + 1) if r < 3 else 4196 elif test_left and test_right and (not test_top) and test_bottom:197 return trace(field, i, j - 1, i, j, r + 1) if r < 3 else 4198 elif test_left and test_right and test_top and (not test_bottom):199 return trace(field, i, j + 1, i, j, r + 1) if r < 3 else 4200 else:201 return 4202def check(field: list) -> bool:203 s = 0204 z = 0205 for j in range(len(field)):206 for i in range(len(field[j])):207 s = s + field[j][i]208 if field[j][i] == 0: z = z + 1209 return s == len(field) * len(field[0]) and z == 0210def solve(task: dict, shift: int = 0, field: list = None) -> (dict, bool):211 l = task['List']212 for c in range(len(l[shift])):213 merged, checker = merge(field, l[shift][c])214 if checker:215 if len(l) > shift + 1:216 fields, checker = solve(task, shift + 1, merged)217 if checker:218 fields[shift] = l[shift][c]219 return fields, checker220 else:221 checker = check(merged)222 if checker:223 return {shift: l[shift][c]}, checker224 return {}, False225def print_result(fields: dict):226 separator = ''.join(['-' for i in range((2 * len(fields[0][0]) - 1 + 3) * len(fields) - 3)])227 print(separator)228 for j in range(len(fields[0])):229 content = ''230 for f in range(len(fields)):231 content = content + ' '.join(map(str, fields[f][j])) + ' '232 print(content)233 print(separator)234T3A = {'Height': 5, 'Width': 3, 'Figures': [F2, F3, FA]}235T3B = {'Height': 5, 'Width': 3, 'Figures': [F4, F6, F7]}236T4A = {'Height': 5, 'Width': 4, 'Figures': [F2, F3, F6, FA]}237T5A = {'Height': 5, 'Width': 5, 'Figures': [F2, F3, F6, FA, FB]}238T6A = {'Height': 5, 'Width': 6, 'Figures': [F2, F3, F6, F8, FA, FB]}239T7A = {'Height': 5, 'Width': 7, 'Figures': [F2, F3, F5, F6, F8, FA, FB]}240T8A = {'Height': 5, 'Width': 8, 'Figures': [F2, F3, F4, F5, F6, F8, FA, FB]}241T12 = {'Height': 5, 'Width': 12, 'Figures': ARR}242T20 = {'Height': 3, 'Width': 20, 'Figures': ARR}243fields, rc = solve(orientate(T6A))244print_result(fields)245#print(F2)246#print(rotate(mirror(F2), 0))...
test_permission_control.py
Source:test_permission_control.py
1from hallo.events import EventMessage2from hallo.hallo import Hallo3from hallo.permission_mask import PermissionMask4from hallo.test.server_mock import ServerMock5def test_run_add_on(hallo_getter):6 test_hallo = hallo_getter({"permission_control"})7 # Set up a test hallo and server and channel and user8 hallo1 = Hallo()9 perm0 = PermissionMask()10 hallo1.permission_mask = perm011 serv1 = ServerMock(hallo1)12 serv1.name = "test_serv1"13 perm1 = PermissionMask()14 serv1.permission_mask = perm115 hallo1.add_server(serv1)16 chan1 = serv1.get_channel_by_address("test_chan1".lower(), "test_chan1")17 perm2 = PermissionMask()18 chan1.permission_mask = perm219 user1 = serv1.get_user_by_address("test_user1", "test_user1")20 perm3 = PermissionMask()21 user1.permission_mask = perm322 # Get permission mask of given channel23 test_right = "test_right"24 test_hallo.function_dispatcher.dispatch(25 EventMessage(26 serv1,27 chan1,28 user1,29 "permissions server=test_serv1 channel=test_chan1 " + test_right + " on",30 )31 )32 data = serv1.get_send_data(1, chan1, EventMessage)33 assert "error" not in data[0].text.lower()34 assert "set " + test_right + " to true" in data[0].text.lower()35 assert test_right in perm2.rights_map36 assert perm2.rights_map[test_right]37def test_run_set_on(hallo_getter):38 test_hallo = hallo_getter({"permission_control"})39 # Set up a test hallo and server and channel and user40 hallo1 = Hallo()41 perm0 = PermissionMask()42 hallo1.permission_mask = perm043 serv1 = ServerMock(hallo1)44 serv1.name = "test_serv1"45 perm1 = PermissionMask()46 serv1.permission_mask = perm147 hallo1.add_server(serv1)48 chan1 = serv1.get_channel_by_address("test_chan1".lower(), "test_chan1")49 perm2 = PermissionMask()50 chan1.permission_mask = perm251 user1 = serv1.get_user_by_address("test_user1", "test_user1")52 perm3 = PermissionMask()53 user1.permission_mask = perm354 # Get permission mask of given channel55 test_right = "test_right"56 perm2.set_right(test_right, False)57 test_hallo.function_dispatcher.dispatch(58 EventMessage(59 serv1,60 chan1,61 user1,62 "permissions server=test_serv1 channel=test_chan1 " + test_right + " on",63 )64 )65 data = serv1.get_send_data(1, chan1, EventMessage)66 assert "error" not in data[0].text.lower()67 assert "set " + test_right + " to true" in data[0].text.lower()68 assert test_right in perm2.rights_map69 assert perm2.rights_map[test_right]70def test_run_add_off(hallo_getter):71 test_hallo = hallo_getter({"permission_control"})72 # Set up a test hallo and server and channel and user73 hallo1 = Hallo()74 perm0 = PermissionMask()75 hallo1.permission_mask = perm076 serv1 = ServerMock(hallo1)77 serv1.name = "test_serv1"78 perm1 = PermissionMask()79 serv1.permission_mask = perm180 hallo1.add_server(serv1)81 chan1 = serv1.get_channel_by_address("test_chan1".lower(), "test_chan1")82 perm2 = PermissionMask()83 chan1.permission_mask = perm284 user1 = serv1.get_user_by_address("test_user1", "test_user1")85 perm3 = PermissionMask()86 user1.permission_mask = perm387 # Get permission mask of given channel88 test_right = "test_right"89 test_hallo.function_dispatcher.dispatch(90 EventMessage(91 serv1,92 chan1,93 user1,94 "permissions server=test_serv1 channel=test_chan1 " + test_right + " off",95 )96 )97 data = serv1.get_send_data(1, chan1, EventMessage)98 assert "error" not in data[0].text.lower()99 assert "set " + test_right + " to false" in data[0].text.lower()100 assert test_right in perm2.rights_map101 assert not perm2.rights_map[test_right]102def test_run_set_off(hallo_getter):103 test_hallo = hallo_getter({"permission_control"})104 # Set up a test hallo and server and channel and user105 hallo1 = Hallo()106 perm0 = PermissionMask()107 hallo1.permission_mask = perm0108 serv1 = ServerMock(hallo1)109 serv1.name = "test_serv1"110 perm1 = PermissionMask()111 serv1.permission_mask = perm1112 hallo1.add_server(serv1)113 chan1 = serv1.get_channel_by_address("test_chan1".lower(), "test_chan1")114 perm2 = PermissionMask()115 chan1.permission_mask = perm2116 user1 = serv1.get_user_by_address("test_user1", "test_user1")117 perm3 = PermissionMask()118 user1.permission_mask = perm3119 # Get permission mask of given channel120 test_right = "test_right"121 perm2.set_right(test_right, True)122 test_hallo.function_dispatcher.dispatch(123 EventMessage(124 serv1,125 chan1,126 user1,127 "permissions server=test_serv1 channel=test_chan1 " + test_right + " off",128 )129 )130 data = serv1.get_send_data(1, chan1, EventMessage)131 assert "error" not in data[0].text.lower()132 assert "set " + test_right + " to false" in data[0].text.lower()133 assert test_right in perm2.rights_map134 assert not perm2.rights_map[test_right]135def test_run_fail_args(hallo_getter):136 test_hallo = hallo_getter({"permission_control"})137 # Set up a test hallo and server and channel and user138 hallo1 = Hallo()139 perm0 = PermissionMask()140 hallo1.permission_mask = perm0141 serv1 = ServerMock(hallo1)142 serv1.name = "test_serv1"143 perm1 = PermissionMask()144 serv1.permission_mask = perm1145 hallo1.add_server(serv1)146 chan1 = serv1.get_channel_by_address("test_chan1".lower(), "test_chan1")147 perm2 = PermissionMask()148 chan1.permission_mask = perm2149 user1 = serv1.get_user_by_address("test_user1", "test_user1")150 perm3 = PermissionMask()151 user1.permission_mask = perm3152 # Get permission mask of given channel153 test_right = "test_right"154 perm1.set_right(test_right, True)155 test_hallo.function_dispatcher.dispatch(156 EventMessage(serv1, chan1, user1, "permissions server=test_serv1 " + test_right)157 )158 data = serv1.get_send_data(1, chan1, EventMessage)159 assert "error" in data[0].text.lower()160 assert "a location, a right and the value" in data[0].text.lower()161 assert test_right in perm1.rights_map162 assert perm1.rights_map[test_right]163def test_run_fail_not_bool(hallo_getter):164 test_hallo = hallo_getter({"permission_control"})165 # Set up a test hallo and server and channel and user166 hallo1 = Hallo()167 perm0 = PermissionMask()168 hallo1.permission_mask = perm0169 serv1 = ServerMock(hallo1)170 serv1.name = "test_serv1"171 perm1 = PermissionMask()172 serv1.permission_mask = perm1173 hallo1.add_server(serv1)174 chan1 = serv1.get_channel_by_address("test_chan1".lower(), "test_chan1")175 perm2 = PermissionMask()176 chan1.permission_mask = perm2177 user1 = serv1.get_user_by_address("test_user1", "test_user1")178 perm3 = PermissionMask()179 user1.permission_mask = perm3180 # Get permission mask of given channel181 test_right = "test_right"182 perm1.set_right(test_right, True)183 test_hallo.function_dispatcher.dispatch(184 EventMessage(185 serv1,186 chan1,187 user1,188 "permissions server=test_serv1 " + test_right + " yellow",189 )190 )191 data = serv1.get_send_data(1, chan1, EventMessage)192 assert "error" in data[0].text.lower()193 assert "don't understand your boolean value" in data[0].text.lower()194 assert test_right in perm1.rights_map...
conftest.py
Source:conftest.py
1#!/usr/bin/env python32import pytest3@pytest.fixture4def rcssserver_output():5 return '''rcssserver-15.2.26Copyright (C) 1995, 1996, 1997, 1998, 1999 Electrotechnical Laboratory.72000 - RoboCup Soccer Simulator Maintenance Group.8Simulator Random Seed: 14693359419CSVSaver: Ready10STDOutSaver: Ready11Using simulator's random seed as Hetero Player Seed: 146933594112Hit CTRL-C to exit13Starting "/bin/sh -c left_team.sh"14Waiting for players to connect15A new (v14) player (test_left 1) connected.16Starting "/bin/sh -c right_team.sh"17A new (v14) player (test_right 1) connected.18A new (v14) player (test_left 2) connected.19A new (v14) player (test_left 3) connected.20A new (v14) player (test_left 4) connected.21A new (v14) player (test_left 5) connected.22A new (v14) player (test_left 6) connected.23A new (v14) player (test_left 7) connected.24A new (v14) player (test_left 8) connected.25A new (v14) player (test_left 9) connected.26A new (v14) player (test_right 2) connected.27A new (v14) player (test_left 10) connected.28A new (v14) online coach (test_left) connected.29A new (v14) player (test_left 11) connected.30A new (v14) player (test_right 3) connected.31A new (v14) player (test_right 4) connected.32A new (v14) player (test_right 5) connected.33A new (v14) player (test_right 6) connected.34A new (v14) player (test_right 7) connected.35A new (v14) player (test_right 8) connected.36A new (v14) player (test_right 9) connected.37A new (v14) player (test_right 10) connected.38A new (v14) online coach (test_right) connected.39Waiting to kick off40Kick_off_left41Waiting after end of match42A player disconnected : (test_right 4)43A player disconnected : (test_right 2)44A player disconnected : (test_right 3)45A player disconnected : (test_left 5)46A player disconnected : (test_left 7)47An online coach disconnected : (test_left)48An online coach disconnected : (test)49A player disconnected : (test_left 9)50A player disconnected : (test_right 5)51A player disconnected : (test_right 10)52A player disconnected : (test_left 11)53A player disconnected : (test_right 7)54A player disconnected : (test_left 4)55A player disconnected : (test_right 8)56A player disconnected : (test_left 8)57A player disconnected : (test_left 10)58A player disconnected : (test_right 9)59A player disconnected : (test_left 6)60A player disconnected : (test_left 2)61A player disconnected : (test_left 1)62A player disconnected : (test_right 1)63A player disconnected : (test_right 11)64A player disconnected : (test_left 3)65A player disconnected : (test_right 6)66Killing 1953967Killing 1954668Game Over. Exiting...69Saving Results:70\tCSVSaver: saving...71\tCSVSaver: ...saved72\tSTDOutSaver: saving...73Game Results:74\t2016-07-24 01:52:2175\t'test_left' vs 'test_right'76\tScore: 0 - 277\tSTDOutSaver: ...saved78Saving Results Complete...
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!