Commit 1eed78ee authored by Jan Koniarik's avatar Jan Koniarik
Browse files

fixed curry -> uncurry renaming intests

parent 78673a3d
......@@ -42,9 +42,9 @@ TEST(Algorithm, map_range) {
EXPECT_EQ(map_range(0, 0, 10, 10, 0), 10);
}
TEST(Algorithm, curry) {
TEST(Algorithm, uncurry) {
auto test_tuple = std::make_tuple(1, 2.f, 3.);
curry([&](int a, float b, double c) {
uncurry([&](int a, float b, double c) {
EXPECT_EQ(a, std::get<int>(test_tuple));
EXPECT_EQ(b, std::get<float>(test_tuple));
EXPECT_EQ(c, std::get<double>(test_tuple));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment