mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
20 lines
437 B
C++
20 lines
437 B
C++
#pragma once
|
|
|
|
#include <iostream>
|
|
#include <cxxtest/TestSuite.h>
|
|
|
|
#include <xlnt/writer/workbook_writer.hpp>
|
|
|
|
#include "helpers/path_helper.hpp"
|
|
#include "helpers/helper.hpp"
|
|
|
|
class test_theme : public CxxTest::TestSuite
|
|
{
|
|
public:
|
|
void test_write_theme()
|
|
{
|
|
auto content = xlnt::write_theme();
|
|
TS_ASSERT(Helper::EqualsFileContent(PathHelper::GetDataDirectory() + "/writer/expected/theme1.xml", content));
|
|
}
|
|
};
|