client/cpp/encoder_unittest.cc
TEST_F(EncoderUint32Test, Sha256NoMoreThan32BitsDeathTest) {
  ::testing::FLAGS_gtest_death_test_style = "threadsafe";
  delete params;
  params = new rappor::Params(64,    // num_bits (k)
                              2,     // num_hashes (h)
                              128,   // num_cohorts (m)
                              0.25,  // probability f for PRR
                              0.75,  // probability p for IRR
                              0.5);  // probability q for IRR
  EXPECT_DEATH(rappor::Encoder(encoder_id, *params, *deps),
               "Assertion.*failed");
}
// num_bits 64 when only 32 bits are possible.
num_bits 64 when only 32 bits are possible.
num_bits 64 when only 32 bits are possible .
TEST_F(EncoderUint32Test, Sha256NoMoreThan32BitsDeathTest) {
  ::testing::FLAGS_gtest_death_test_style = "threadsafe";
  delete params;
  params = new rappor::Params(64,    
                              2,     
                              128,   
                              0.25,  
                              0.75,  
                              0.5);  
  EXPECT_DEATH(rappor::Encoder(encoder_id, *params, *deps),
               "Assertion.*failed");
}
TEST_F ( EncoderUint32Test , Sha256NoMoreThan32BitsDeathTest ) { :: testing :: FLAGS_gtest_death_test_style = " " ; delete params ; params = new rappor :: Params ( 64 , 2 , 128 , 0.25 , 0.75 , 0.5 ) ; EXPECT_DEATH ( rappor :: Encoder ( encoder_id , * params , * deps ) , " " ) ; }
num_bits 64 when only 32 bits are possible.
num_bits 64 when only 32 bits are possible .
// num_bits (k) // num_hashes (h) // num_cohorts (m) // probability f for PRR // probability p for IRR // probability q for IRR