def test_space_removal(self): assert calculate.convertUnaryOperators('1 + 1 - 1') == '1+1-1'
def test_plus_with_binary_plus(self): assert calculate.convertUnaryOperators('1++1') == '1+1'
def test_empty_string(self): assert calculate.convertUnaryOperators('') == ''
def test_double_plus(self): assert calculate.convertUnaryOperators('++1') == '1'
def test_minus_after_right_bracket(self): assert calculate.convertUnaryOperators('(1)-1') == '(1)-1'
def test_minus_with_binary_minus(self): assert calculate.convertUnaryOperators('1--1') == '1-m1'
def test_triple_minus(self): assert calculate.convertUnaryOperators('---1') == 'mmm1'
def test_single_minus(self): assert calculate.convertUnaryOperators('-1') == 'm1'