libxlsxwriter/test/functional/src/test_embed_image06.c
2024-07-30 00:44:54 +01:00

22 lines
579 B
C

/*****************************************************************************
* Test cases for libxlsxwriter.
*
* Test to compare output against Excel files.
*
* Copyright 2014-2024, John McNamara, jmcnamara@cpan.org
*
*/
#include "xlsxwriter.h"
int main() {
lxw_workbook *workbook = workbook_new("test_embed_image06.xlsx");
lxw_worksheet *worksheet = workbook_add_worksheet(workbook, NULL);
worksheet_embed_image(worksheet, 0, 0, "images/red.png");
worksheet_insert_image(worksheet, 8, 4, "images/red.png");
return workbook_close(workbook);
}