Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEST( foo ) {
- Foo one;
- Foo two;
- // init one & two
- // lots of CHECK_CLOSE(one.bar, two.bar, 1e-5); in repeating cycles
- }
- TEST( bar ) {
- Foo one;
- Foo two;
- // init one & two
- // lots of CHECK_CLOSE(one.bar, two.bar, 1e-5); in repeating cycles
- }
- void blah( const Foo& one, const Foo& two ) {
- // lots of CHECK_CLOSE(one.bar, two.bar, 1e-5);
- }
- TEST( foo ) {
- Foo one;
- Foo two;
- // init one & two
- blah(one, two);
- }
- TEST( bar ) {
- Foo one;
- Foo two;
- // init one & two
- blah(one, two);
- }
Add Comment
Please, Sign In to add comment