Lines Matching refs:fAlpha
72 double fAlpha; in TEST_F() local
75 tie(nIndex,fAlpha) = maKeyStops.lerp(-1.0); in TEST_F()
76 ASSERT_TRUE(nIndex==0 && fAlpha==0.0) << "-1.0"; in TEST_F()
78 tie(nIndex,fAlpha) = maKeyStops.lerp(0.1); in TEST_F()
79 ASSERT_TRUE(nIndex==0 && fAlpha==0.0) << "0.1"; in TEST_F()
81 tie(nIndex,fAlpha) = maKeyStops.lerp(0.3); in TEST_F()
82 ASSERT_TRUE(nIndex==0 && fTools::equal(fAlpha,0.5)) << "0.3"; in TEST_F()
84 tie(nIndex,fAlpha) = maKeyStops.lerp(0.5); in TEST_F()
85 ASSERT_TRUE(nIndex==0 && fTools::equal(fAlpha,1.0)) << "0.5"; in TEST_F()
87 tie(nIndex,fAlpha) = maKeyStops.lerp(0.51); in TEST_F()
88 ASSERT_TRUE(nIndex==1 && fTools::equal(fAlpha,0.025)) << "0.51"; in TEST_F()
90 tie(nIndex,fAlpha) = maKeyStops.lerp(0.9); in TEST_F()
91 ASSERT_TRUE(nIndex==1 && fTools::equal(fAlpha,1.0)) << "0.51"; in TEST_F()
93 tie(nIndex,fAlpha) = maKeyStops.lerp(1.0); in TEST_F()
94 ASSERT_TRUE(nIndex==1 && fAlpha==1.0) << "0.51"; in TEST_F()