def test_multiple_space(self): """Function: test_multiple_space Description: Test with multiple spaces in string. Arguments: """ self.assertEqual(gen_libs.rm_whitespace(self.data8), self.results2)
def test_no_spaces(self): """Function: test_no_spaces Description: Test with no white spaces. Arguments: """ self.assertEqual(gen_libs.rm_whitespace(self.data), self.results)
def test_empty_string(self): """Function: test_empty_string Description: Test with empty data string. Arguments: """ self.assertEqual(gen_libs.rm_whitespace(self.data9), self.results3)
def test_end_space(self): """Function: test_end_space Description: Test with white space at end of string. Arguments: """ self.assertEqual(gen_libs.rm_whitespace(self.data2), self.results)
def test_middle_space(self): """Function: test_middle_space Description: Test with white space in middle of string. Arguments: """ self.assertEqual(gen_libs.rm_whitespace(self.data4), self.results)
def test_newline_space(self): """Function: test_newline_space Description: Test with newline character. Arguments: """ self.assertEqual(gen_libs.rm_whitespace(self.data5), self.results4)
def test_tab_space(self): """Function: test_tab_space Description: Test with tab character. Arguments: """ self.assertEqual(gen_libs.rm_whitespace(self.data6), self.results5)
def test_carriage_space(self): """Function: test_carriage_space Description: Test with carriage return character. Arguments: """ self.assertEqual(gen_libs.rm_whitespace(self.data7), self.results6)