'Test the creation of an XlsxWriter file with an array formula.'

def test_create_file(self):

    workbook = Workbook(self.got_filename)
    worksheet = workbook.add_worksheet()
    xf_format = workbook.add_format({'bold': 1})
    worksheet.write('B1', 0)
    worksheet.write('B2', 0)
    worksheet.write('B3', 0)
    worksheet.write('C1', 0)
    worksheet.write('C2', 0)
    worksheet.write('C3', 0)
    worksheet.write_array_formula(0, 0, 2, 0, '{=SUM(B1:C1*B2:C2)}', xf_format, 0)
    workbook.close()
    self.assertExcelEqual()
