MCPcopy Create free account
hub / github.com/ImageEngine/cortex / test2

Method test2

test/IECore/LookupTest.cpp:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 void test2()
84 {
85 Lookupff l( NanFunctor(), 0.0f, 1.0f, 50 );
86 l.init( LinearFunctor(), 0.0f, 1.0f, 25 );
87
88 BOOST_CHECK( fabs( 1.0f - l( 1.0f ) ) < 0.00001f );
89 }
90
91};
92

Callers

nothing calls this directly

Calls 3

NanFunctorClass · 0.85
LinearFunctorClass · 0.85
initMethod · 0.45

Tested by

no test coverage detected