From 477c1f5152b14884e26119520730451ed08be738 Mon Sep 17 00:00:00 2001 From: mrbald Date: Wed, 23 Nov 2022 15:48:17 +0100 Subject: [PATCH] Fixed typo in code example in top level README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4bc5b86d..6a0b99c3 100644 --- a/README.md +++ b/README.md @@ -51,16 +51,16 @@ uint64_t fibonacci(uint64_t number) { } TEST_CASE("Benchmark Fibonacci", "[!benchmark]") { - REQUIRE(Fibonacci(5) == 5); + REQUIRE(fibonacci(5) == 5); - REQUIRE(Fibonacci(20) == 6'765); - BENCHMARK("Fibonacci 20") { - return Fibonacci(20); + REQUIRE(fibonacci(20) == 6'765); + BENCHMARK("fibonacci 20") { + return fibonacci(20); }; - REQUIRE(Fibonacci(25) == 75'025); - BENCHMARK("Fibonacci 25") { - return Fibonacci(25); + REQUIRE(fibonacci(25) == 75'025); + BENCHMARK("fibonacci 25") { + return fibonacci(25); }; } ```