boostorg / boostorg/test

Comparing resulting files

Open
#307 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
213
Forks
149
Avg merge
18h 17m
Merged PRs (30d)
2

Description

It would be nice and cozy to have a macro for file result comparision.

A potential body for the file comparision test macro:

std::ifstream ifs1(TEST_SRC_DIR "input/file/path");
std::ifstream ifs2(TEST_SRC_DIR "gold/file/path");

std::istream_iterator b1(ifs1), b2(ifs2), e;

BOOST_CHECK_EQUAL_COLLECTIONS(b1, e, b2, e);

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.