1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-04-18 17:24:03 +03:00
mvfst/quic/codec/test/ServerConnectionIdParamsTest.cpp
Hani Damlaj 00e67c1bf9 mvfst License Header Update
Reviewed By: lnicco

Differential Revision: D33587012

fbshipit-source-id: 972eb440f0156c9c04aa6e8787561b18295c1a97
2022-01-18 13:56:12 -08:00

22 lines
578 B
C++

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <folly/portability/GTest.h>
#include <quic/codec/QuicConnectionId.h>
namespace quic {
namespace test {
TEST(ServerConnectionIdParamsTest, EqOpTest) {
ServerConnectionIdParams first(1, 5, 7);
ServerConnectionIdParams second(1, 7, 5);
ServerConnectionIdParams third(1, 5, 7);
EXPECT_EQ(first, third);
EXPECT_NE(first, second);
}
} // namespace test
} // namespace quic