//===- llvm/unittest/Support/BLAKE3Test.cpp - BLAKE3 tests ----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements unit tests for the BLAKE3 functions. // //===----------------------------------------------------------------------===// #include "llvm/Support/BLAKE3.h" #include "llvm/ADT/StringExtras.h" #include "llvm/Support/HashBuilder.h" #include "gtest/gtest.h" usingnamespacellvm; namespace { /// Tests an arbitrary set of bytes passed as \p Input. void TestBLAKE3Sum(ArrayRef<uint8_t> Input, StringRef Final) { … } KV; TEST(BLAKE3Test, BLAKE3) { … } TEST(BLAKE3Test, SmallerHashSize) { … } } // namespace