Skip to content

Conversation

@RadixSeven
Copy link
Contributor

I've added two features:

  1. a collection_is test assertion for comparing collections
  2. a templated stream insertion operator in the TAP namespace to allow printing of std::pair objects in assertion diagnostics. This allows: is(my_pair, expected_pair, "The pairs were the same")

I've actually had these in my repository for a few weeks, but hadn't gotten around to updating the documentation. So, between my use and the few test cases I wrote, I think they work.

An additional minor change:
The .dir_locals.el file I am ignoring is an emacs preference file. I don't think anyone will need to share that one with the world and I was tired of it showing up in the git status.

Eric David Moyer added 7 commits May 5, 2011 10:54
…l target

Makefile now changes the owner of the installed files to the user
running the install (root in most cases) and sets the permissions
appopriately -- world-readable for everything and directories and
libraries also get world executable.

Uninstall target just deletes the installed files.
…perator

One should be able to run "is" with any of the basic standard library types.
However, is needs to be able to print the expected value.  This enables that
printing.  It is also safe for others' code since if they need to use their own
operator<<(ostream,pair), ours is hidden safely away in the TAP namespace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant