Skip to content

Commit 9a0d513

Browse files
committed
update readme
1 parent b47e6b2 commit 9a0d513

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# fpgen
2-
*Functional programming in C++ using C++20 coroutines*
2+
*Functional programming in C++ using C++20 coroutines*
3+
![](https://img.shields.io/badge/test_coverage-98%25-brightgreen)
4+
35

46
## Aim
57
`fpgen` aims to bring you an easy-to-use framework for stream programming in C++. Generators can be created, manipulated and lazily aggregated at will using a set of simple functions. Iterators over the generator make it easy to iterate over lazy functions.
@@ -28,4 +30,4 @@ Got another idea? Drop a feature request on the repo.
2830
## Requirements
2931
This project strongly depends on C++20. For an optimal experience, I recommend GCC version 11.2 or greater.
3032
For the tests, we rely on Google Test via the Conan package manager, so make sure you have that installed as well.
31-
To generate coverage reports, we require `gcov`, `lcov` and `genhtml`.
33+
To generate coverage reports, we require `gcov`, `lcov` and `genhtml`.

test/src/test_sources.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ TEST(sources, from_set) {
2929
}
3030

3131
TEST(sources, enumerate_vector) {
32-
std::vector<char> values = { 'a', 'c', 'e', 'k', 'j', 't' };
32+
std::vector<char> values = {'a', 'c', 'e', 'k', 'j', 't'};
3333
size_t prev = 0;
34-
for(auto v : fpgen::enumerate(values)) {
34+
for (auto v : fpgen::enumerate(values)) {
3535
EXPECT_EQ(std::get<0>(v), prev);
3636
EXPECT_EQ(values[prev], std::get<1>(v));
3737
prev++;

0 commit comments

Comments
 (0)