#include "cast/streaming/impl/packet_receive_stats_tracker.h"
#include <chrono>
#include <limits>
#include "cast/streaming/public/constants.h"
#include "gtest/gtest.h"
#include "util/chrono_helpers.h"
namespace openscreen::cast {
namespace {
RtcpReportBlock GetSentinel() { … }
#define EXPECT_FIELDS_NOT_POPULATED(x) …
#define EXPECT_FIELDS_POPULATED(x) …
TEST(PacketReceiveStatsTrackerTest, DoesNotPopulateReportWithoutData) { … }
TEST(PacketReceiveStatsTrackerTest, PopulatesReportWithOnePacketTracked) { … }
TEST(PacketReceiveStatsTrackerTest, WhenReceivingAllPackets) { … }
TEST(PacketReceiveStatsTrackerTest, WhenReceivingAboutHalfThePackets) { … }
TEST(PacketReceiveStatsTrackerTest, ComputesJitterCorrectly) { … }
}
}