Skip to content

Commit

Permalink
using | operator with transform
Browse files Browse the repository at this point in the history
  • Loading branch information
whaeck committed Feb 12, 2024
1 parent 7fc723c commit 606b870
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tools/nanorange/views/transform/test/transform.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SCENARIO( "std::ranges::views::transform" ) {

WHEN( "when the container and the transformation are used" ) {

auto chunk = nano::views::transform( values, transform );
auto chunk = values | nano::views::transform( transform );

THEN( "an TransformView can be constructed and members can be tested" ) {

Expand Down Expand Up @@ -65,7 +65,7 @@ SCENARIO( "std::ranges::views::transform" ) {

WHEN( "when the container and the transformation are used" ) {

auto chunk = nano::views::transform( values, transform );
auto chunk = values | nano::views::transform( transform );

THEN( "an TransformView can be constructed and members can be tested" ) {

Expand Down Expand Up @@ -95,7 +95,7 @@ SCENARIO( "std::ranges::views::transform" ) {

WHEN( "when the container and the transformation are used" ) {

auto chunk = nano::views::transform( values, transform );
auto chunk = values | nano::views::transform( transform );

THEN( "an TransformView can be constructed and members can be tested" ) {

Expand Down

0 comments on commit 606b870

Please sign in to comment.