1 // Copyright 2017 The CRC32C Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 5 #include "gtest/gtest.h" 6 7 #include "./crc32c_extend_unittests.h" 8 #include "./crc32c_internal.h" 9 10 namespace crc32c { 11 12 struct PortableTestTraits { Extendcrc32c::PortableTestTraits13 static uint32_t Extend(uint32_t crc, const uint8_t* data, size_t count) { 14 return ExtendPortable(crc, data, count); 15 } 16 }; 17 18 INSTANTIATE_TYPED_TEST_SUITE_P(Portable, ExtendTest, PortableTestTraits); 19 20 } // namespace crc32c 21