'Test write with NAN/INF. Issue #30'

def test_create_file_in_memory(self):

    workbook = Workbook(self.got_filename, {'in_memory': True})
    worksheet = workbook.add_worksheet()
    worksheet.write_string(0, 0, 'Foo')
    worksheet.write_number(1, 0, 123)
    worksheet.write_string(2, 0, 'NAN')
    worksheet.write_string(3, 0, 'nan')
    worksheet.write_string(4, 0, 'INF')
    worksheet.write_string(5, 0, 'infinity')
    workbook.close()
    self.assertExcelEqual()
