modules/audio_coding/neteq/packet_buffer_unittest.cc
TEST(PacketBuffer, IsObsoleteTimestamp) {
  TestIsObsoleteTimestamp(0);
  TestIsObsoleteTimestamp(1);
  TestIsObsoleteTimestamp(0xFFFFFFFF);  // -1 in uint32_t.
  TestIsObsoleteTimestamp(0x80000000);  // 2^31.
  TestIsObsoleteTimestamp(0x80000001);  // 2^31 + 1.
  TestIsObsoleteTimestamp(0x7FFFFFFF);  // 2^31 - 1.
}
// Test the IsObsoleteTimestamp method with different limit timestamps.
Test the IsObsoleteTimestamp method with different limit timestamps.
Test the IsObsoleteTimestamp method with different limit timestamps .
TEST(PacketBuffer, IsObsoleteTimestamp) {
  TestIsObsoleteTimestamp(0);
  TestIsObsoleteTimestamp(1);
  TestIsObsoleteTimestamp(0xFFFFFFFF);  
  TestIsObsoleteTimestamp(0x80000000);  
  TestIsObsoleteTimestamp(0x80000001);  
  TestIsObsoleteTimestamp(0x7FFFFFFF);  
}
TEST ( PacketBuffer , IsObsoleteTimestamp ) { TestIsObsoleteTimestamp ( 0 ) ; TestIsObsoleteTimestamp ( 1 ) ; TestIsObsoleteTimestamp ( 0xFFFFFFFF ) ; TestIsObsoleteTimestamp ( 0x80000000 ) ; TestIsObsoleteTimestamp ( 0x80000001 ) ; TestIsObsoleteTimestamp ( 0x7FFFFFFF ) ; }
Test the IsObsoleteTimestamp method with different limit timestamps.
Test the IsObsoleteTimestamp method with different limit timestamps .
// -1 in uint32_t. // 2^31. // 2^31 + 1. // 2^31 - 1.