3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-28 05:58:57 +00:00

fmt: fuzz, fix (remove extraneous + incorrect fill)

"blk + chunks" is often an overrun, plus the fill is unnecessary; we
throw blk away immediately.
This commit is contained in:
Charlotte 2023-06-28 11:51:23 +10:00 committed by Marcelina Kościelnicka
parent 9f9561379b
commit 2ae551c0af
4 changed files with 67 additions and 1 deletions

View file

@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.14)
project(cxxrtl_division_fuzz)
set(CMAKE_CXX_STANDARD 17)
add_subdirectory(fuzztest)
enable_testing()
include(GoogleTest)
fuzztest_setup_fuzzing_flags()
include_directories(../../..)
add_executable(
x_test
x_test.cc
../../../libs/bigint/BigUnsigned.cc
)
link_fuzztest(x_test)
gtest_discover_tests(x_test)