mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Simplified test
This commit is contained in:
parent
aad0dabebe
commit
e0c2ba2ab7
@ -332,9 +332,7 @@ namespace
|
||||
//*************************************************************************
|
||||
TEST(test_functor)
|
||||
{
|
||||
constexpr auto ptr = TestGlobal;
|
||||
|
||||
constexpr etl::functor fw1(ptr);
|
||||
constexpr etl::functor fw1(TestGlobal);
|
||||
CHECK_EQUAL(2, fw1(1));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user