/*****************************************************************************
 * 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_image07.xlsx");
    lxw_worksheet *worksheet = workbook_add_worksheet(workbook, NULL);

    worksheet_embed_image(worksheet, 0, 0, "images/red.png");
    worksheet_embed_image(worksheet, 2, 0, "images/blue.png");
    worksheet_insert_image(worksheet, 8, 4, "images/red.png");

    return workbook_close(workbook);
}
