chromium/net/third_party/quiche/src/quiche/quic/core/internet_checksum_test.cc

// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "quiche/quic/core/internet_checksum.h"

#include "quiche/quic/platform/api/quic_test.h"

namespace quic {
namespace {

// From the Numerical Example described in RFC 1071
// https://tools.ietf.org/html/rfc1071#section-3
TEST(InternetChecksumTest, MatchesRFC1071Example) {}

// Same as above, except 7 bytes. Should behave as if there was an 8th byte
// that equals 0.
TEST(InternetChecksumTest, MatchesRFC1071ExampleWithOddByteCount) {}

// From the example described at:
// http://www.cs.berkeley.edu/~kfall/EE122/lec06/tsld023.htm
TEST(InternetChecksumTest, MatchesBerkleyExample) {}

TEST(InternetChecksumTest, ChecksumRequiringMultipleCarriesInLittleEndian) {}

}  // namespace
}  // namespace quic