Skip to content

Commit

Permalink
Ensure inline bitstream tests include inline.h (resolves #252)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindstro committed Feb 12, 2025
1 parent 8fe0059 commit bb76298
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions tests/src/inline/testBitstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
#include <setjmp.h>
#include <cmocka.h>

#include "include/zfp/bitstream.h"
#include "include/zfp/bitstream.inl"
#include "zfp/internal/zfp/inline.h"
#include "zfp/bitstream.h"
#include "zfp/bitstream.inl"

#define STREAM_WORD_CAPACITY 3

Expand Down
5 changes: 3 additions & 2 deletions tests/src/inline/testBitstreamSmallWsize.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

#define BIT_STREAM_WORD_TYPE uint16

#include "include/zfp/bitstream.h"
#include "include/zfp/bitstream.inl"
#include "zfp/internal/zfp/inline.h"
#include "zfp/bitstream.h"
#include "zfp/bitstream.inl"

#define STREAM_WORD_CAPACITY 4

Expand Down
5 changes: 3 additions & 2 deletions tests/src/inline/testBitstreamStrided.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

#define BIT_STREAM_STRIDED

#include "include/zfp/bitstream.h"
#include "include/zfp/bitstream.inl"
#include "zfp/internal/zfp/inline.h"
#include "zfp/bitstream.h"
#include "zfp/bitstream.inl"

// 4 words per block
#define BLOCK_SIZE 4
Expand Down

0 comments on commit bb76298

Please sign in to comment.