Guest User

Untitled

a guest
May 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. class FooTest: public ::testing::TestWithParam < int >{....};
  2.  
  3. TEST_P(FooTest, DoesBar)
  4. {
  5. ASSERT_TRUE(foo.DoesBar(GetParam());
  6. }
  7.  
  8. INSTANTIATE_TEST_CASE_P(OneToTenRange, FooTest, ::testing::Range(1, 10));
Add Comment
Please, Sign In to add comment