1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file       test_block.c
4/// \brief      Tests Block coders
5//
6//  Author:     Lasse Collin
7//
8//  This file has been put into the public domain.
9//  You can do whatever you want with this file.
10//
11///////////////////////////////////////////////////////////////////////////////
12
13#include "tests.h"
14
15
16static uint8_t text[] = "Hello world!";
17static uint8_t buffer[4096];
18static lzma_options_block block_options;
19static lzma_stream strm = LZMA_STREAM_INIT;
20
21
22static void
23test1(void)
24{
25
26}
27
28
29int
30main()
31{
32	lzma_init();
33
34	block_options = (lzma_options_block){
35		.check_type = LZMA_CHECK_NONE,
36		.has_eopm = true,
37		.has_uncompressed_size_in_footer = false,
38		.has_backward_size = false,
39		.handle_padding = false,
40		.total_size = LZMA_VLI_UNKNOWN,
41		.compressed_size = LZMA_VLI_UNKNOWN,
42		.uncompressed_size = LZMA_VLI_UNKNOWN,
43		.header_size = 5,
44	};
45	block_options.filters[0].id = LZMA_VLI_UNKNOWN;
46	block_options.filters[0].options = NULL;
47
48
49	lzma_end(&strm);
50
51	return 0;
52}
53