Skip to content

Commit

Permalink
Merge pull request #15 from njoy/feature/std-ranges-part6
Browse files Browse the repository at this point in the history
Feature/std ranges part6
  • Loading branch information
whaeck authored Apr 22, 2024
2 parents 0b827a0 + dabe58d commit 066d556
Show file tree
Hide file tree
Showing 63 changed files with 2,256 additions and 100 deletions.
3 changes: 3 additions & 0 deletions cmake/unit_testing.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ add_subdirectory( src/tools/std20/ranges/access/test )
add_subdirectory( src/tools/std20/ranges/concepts/test )
add_subdirectory( src/tools/std20/type_traits/test )
add_subdirectory( src/tools/std20/views/test )

add_subdirectory( src/tools/views/AnyIterator/test )
add_subdirectory( src/tools/views/AnyView/test )
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/assignable_from.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/common_with.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/constructible_from.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/convertible_to.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/copy_constructible.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/copyable.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/derived_from.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/destructible.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/equality_comparable.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/floating_point.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

SCENARIO( "floating_point" ) {

Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/integral.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

SCENARIO( "integral" ) {

Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/invocable.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/movable.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/move_constructible.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/regular.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/relation.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/same_as.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/semiregular.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/signed_integral.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

SCENARIO( "signed_integral" ) {

Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/strict_weak_order.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/swappable.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/totally_ordered.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/concepts/test/unsigned_integral.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

SCENARIO( "unsigned_integral" ) {

Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/functional/test/equal_to.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo { };
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/functional/test/greater.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo { };
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/functional/test/greater_equal.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo { };
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/functional/test/identity.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

SCENARIO( "invoke" ) {

Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/functional/test/invoke.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
constexpr int f() noexcept { return 42; }
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/functional/test/less.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo { };
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/functional/test/less_equal.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo { };
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/functional/test/not_equal_to.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo { };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

SCENARIO( "incrementable and weakly_incrementable" ) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/std20/iterator/concepts/test/readable.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// convenience typedefs
//using namespace njoy::tools;
namespace std20 = nano::ranges;
namespace std20 = nano;

// test code
struct Foo {};
Expand Down
Loading

0 comments on commit 066d556

Please sign in to comment.