def test_delete_cols(self, col, no_cols, test_key, test_val): """Tests deletion action for columns""" basic_setup_test(self.grid, self.grid.actions.delete_cols, test_key, test_val, col, no_cols=no_cols) # Test equality of code_array after undo and subsequent redo undo_test(self.grid)
def test_paste(self, tl_cell, data, test_key, test_val): """Tests paste into self.grid""" basic_setup_test(self.grid, self.grid.actions.paste, test_key, test_val, tl_cell, data) # Test equality of code_array after undo and subsequent redo undo_test(self.grid)
def test_paste(self, tl_cell, data, test_key, test_val): """Tests paste into self.grid""" basic_setup_test(self.grid, self.grid.actions.paste, test_key, test_val, tl_cell, data) # Test equality of code_array after undo and subsequent redo unredo_test(self.grid)
def test_insert_rows(self, row, no_rows, test_key, test_val): """Tests insertion action for rows""" basic_setup_test(self.grid, self.grid.actions.insert_rows, test_key, test_val, row, no_rows=no_rows) # Test equality of code_array after undo and subsequent redo undo_test(self.grid)
def test_delete_tabs(self, tab, no_tabs, test_key, test_val): """Tests deletion action for tabs""" basic_setup_test(self.grid, self.grid.actions.delete_tabs, test_key, test_val, tab, no_tabs=no_tabs) # Test equality of code_array after undo and subsequent redo undo_test(self.grid)
def test_delete_tabs(self, tab, no_tabs, test_key, test_val): """Tests deletion action for tabs""" basic_setup_test(self.grid, self.grid.actions.delete_tabs, test_key, test_val, tab, no_tabs=no_tabs)
def test_insert_tabs(self, tab, no_tabs, test_key, test_val): """Tests insertion action for tabs""" basic_setup_test(self.grid, self.grid.actions.insert_tabs, test_key, test_val, tab, no_tabs=no_tabs)
def test_delete_cols(self, col, no_cols, test_key, test_val): """Tests deletion action for columns""" basic_setup_test(self.grid, self.grid.actions.delete_cols, test_key, test_val, col, no_cols=no_cols)
def test_insert_rows(self, row, no_rows, test_key, test_val): """Tests insertion action for rows""" basic_setup_test(self.grid, self.grid.actions.insert_rows, test_key, test_val, row, no_rows=no_rows)
def test_delete_rows(self, row, no_rows, test_key, test_val): """Tests deletion action for rows""" basic_setup_test(self.grid, self.grid.actions.delete_rows, test_key, test_val, row, no_rows=no_rows)
def test_insert_cols(self, col, no_cols, test_key, test_val): """Tests insertion action for columns""" basic_setup_test(self.grid, self.grid.actions.insert_cols, test_key, test_val, col, no_cols=no_cols)
def test_delete_tabs(self, tab, no_tabs, test_key, test_val): """Tests deletion action for tabs""" basic_setup_test(self.grid, self.grid.actions.delete_tabs, test_key, test_val, tab, no_tabs=no_tabs) # Test equality of code_array after undo and subsequent redo unredo_test(self.grid)
def test_insert_rows(self, row, no_rows, test_key, test_val): """Tests insertion action for rows""" basic_setup_test(self.grid, self.grid.actions.insert_rows, test_key, test_val, row, no_rows=no_rows) # Test equality of code_array after undo and subsequent redo unredo_test(self.grid)
def test_delete_cols(self, col, no_cols, test_key, test_val): """Tests deletion action for columns""" basic_setup_test(self.grid, self.grid.actions.delete_cols, test_key, test_val, col, no_cols=no_cols) # Test equality of code_array after undo and subsequent redo unredo_test(self.grid)
def test_paste(self, tl_cell, data, test_key, test_val): """Tests paste into self.grid""" basic_setup_test(self.grid, self.grid.actions.paste, test_key, test_val, tl_cell, data)
def test_paste(self, target, data, test_key, test_val): """Test paste of single values, lists and matrices""" basic_setup_test(self.grid, self.main_window.actions.paste, test_key, test_val, target, data)