Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class FooTest: public ::testing::TestWithParam < int >{....};
- TEST_P(FooTest, DoesBar)
- {
- ASSERT_TRUE(foo.DoesBar(GetParam());
- }
- INSTANTIATE_TEST_CASE_P(OneToTenRange, FooTest, ::testing::Range(1, 10));
Add Comment
Please, Sign In to add comment