jes/test/src/TestSupport.h
Josh Holtrop 10a0b33dbe Add Buffer unit tests
- test that writing a buffer with no changes results in the identical
  file being written
2016-07-24 17:25:21 -04:00

16 lines
289 B
C++

#ifndef TESTSUPPORT_H
#define TESTSUPPORT_H
#include <stdint.h>
#include <vector>
#include <memory>
class TestSupport
{
public:
static std::shared_ptr<std::vector<uint8_t>> read_file(const char * filename);
static void compare_files(const char * f1, const char * f2);
};
#endif