mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Add code coverage support. (#378)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "ftxui/screen/color.hpp" // for ftxui
|
||||
#include "ftxui/screen/screen.hpp" // for Screen
|
||||
|
||||
using namespace ftxui;
|
||||
namespace ftxui {
|
||||
|
||||
static void BencharkBasic(benchmark::State& state) {
|
||||
while (state.KeepRunning()) {
|
||||
@@ -30,6 +30,8 @@ static void BencharkBasic(benchmark::State& state) {
|
||||
}
|
||||
BENCHMARK(BencharkBasic)->DenseRange(0, 256, 16);
|
||||
|
||||
} // namespace ftxui
|
||||
|
||||
// Copyright 2021 Arthur Sonzogni. All rights reserved.
|
||||
// Use of this source code is governed by the MIT license that can be found in
|
||||
// the LICENSE file.l
|
||||
|
Reference in New Issue
Block a user