def test_read_symbols_all(self): expected = [ 'SYMBOL1', 'SYMBOL2', 'SYMBOL3', 'SYMBOL4', 'SYMBOL5', 'SYMBOL6', 'SYMBOL7', 'SYMBOL8' ] result = target.read_symbols(self.test_symbol_path) self.assertEqual(expected, result)
def test_read_symbols_negative(self): expected = [] result = target.read_symbols(self.test_symbol_path, -1) self.assertEqual(expected, result)
def test_read_symbols_2(self): expected = ["SYMBOL1", "SYMBOL2"] result = target.read_symbols(self.test_symbol_path, 2) self.assertEqual(expected, result)
def test_read_symbols_all(self): expected = ["SYMBOL1", "SYMBOL2", "SYMBOL3", "SYMBOL4", "SYMBOL5", "SYMBOL6", "SYMBOL7", "SYMBOL8"] result = target.read_symbols(self.test_symbol_path) self.assertEqual(expected, result)
def test_read_symbols_2(self): expected = ['SYMBOL1', 'SYMBOL2'] result = target.read_symbols(self.test_symbol_path, 2) self.assertEqual(expected, result)