xref: /aosp_15_r20/external/cronet/testing/libfuzzer/tests/fuzztest_smoketest.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2023 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include <string>
6 #include "testing/gtest/include/gtest/gtest.h"
7 #include "third_party/fuzztest/src/fuzztest/fuzztest.h"
8 
StringsAlwaysOccupyPositiveSpace(std::string input)9 static void StringsAlwaysOccupyPositiveSpace(std::string input) {
10   EXPECT_TRUE(input.size() >= 0);
11 }
12 
13 FUZZ_TEST(FuzzTestSmokeTest, StringsAlwaysOccupyPositiveSpace);
14