'Test the creation of a simple XlsxWriter file with an autofilter.
This test is the base comparison. It has data but no autofilter.'

def test_create_file(self):

    workbook = Workbook(self.got_filename)
    worksheet = workbook.add_worksheet()
    textfile = open(self.txt_filename)
    row = 0
    for line in textfile:
        data = line.strip('\n').split()
        for (i, item) in enumerate(data):
            try:
                data[i] = float(item)
            except ValueError:
                pass
        for col in range(len(data)):
            worksheet.write(row, col, data[col])
        row += 1
    textfile.close()
    workbook.close()
    self.assertExcelEqual()
