Add code coverage support. (#378)

This commit is contained in:
Arthur Sonzogni
2022-04-17 15:47:20 +02:00
committed by GitHub
parent b2896aba49
commit 764c24ef40
26 changed files with 206 additions and 96 deletions

View File

@@ -5,8 +5,7 @@
#include "ftxui/dom/flexbox_helper.hpp"
#include "gtest/gtest_pred_impl.h" // for EXPECT_EQ, Test, TEST
using namespace ftxui;
using namespace ftxui;
namespace ftxui {
TEST(FlexboxHelperTest, BasicRow) {
flexbox_helper::Block block_10_5;
@@ -228,6 +227,8 @@ TEST(FlexboxHelperTest, BasicColumnInversed) {
EXPECT_EQ(g.blocks[4].dim_y, 5);
}
} // namespace ftxui
// Copyright 2020 Arthur Sonzogni. All rights reserved.
// Use of this source code is governed by the MIT license that can be found in
// the LICENSE file.