• Home
  • Raw
  • Download

Lines Matching refs:Solve

19   EXPECT_NEAR(function.Solve(0), 0, epsilon);  in TEST()
20 EXPECT_NEAR(function.Solve(0.05), 0.01136, epsilon); in TEST()
21 EXPECT_NEAR(function.Solve(0.1), 0.03978, epsilon); in TEST()
22 EXPECT_NEAR(function.Solve(0.15), 0.079780, epsilon); in TEST()
23 EXPECT_NEAR(function.Solve(0.2), 0.12803, epsilon); in TEST()
24 EXPECT_NEAR(function.Solve(0.25), 0.18235, epsilon); in TEST()
25 EXPECT_NEAR(function.Solve(0.3), 0.24115, epsilon); in TEST()
26 EXPECT_NEAR(function.Solve(0.35), 0.30323, epsilon); in TEST()
27 EXPECT_NEAR(function.Solve(0.4), 0.36761, epsilon); in TEST()
28 EXPECT_NEAR(function.Solve(0.45), 0.43345, epsilon); in TEST()
29 EXPECT_NEAR(function.Solve(0.5), 0.5, epsilon); in TEST()
30 EXPECT_NEAR(function.Solve(0.6), 0.63238, epsilon); in TEST()
31 EXPECT_NEAR(function.Solve(0.65), 0.69676, epsilon); in TEST()
32 EXPECT_NEAR(function.Solve(0.7), 0.75884, epsilon); in TEST()
33 EXPECT_NEAR(function.Solve(0.75), 0.81764, epsilon); in TEST()
34 EXPECT_NEAR(function.Solve(0.8), 0.87196, epsilon); in TEST()
35 EXPECT_NEAR(function.Solve(0.85), 0.92021, epsilon); in TEST()
36 EXPECT_NEAR(function.Solve(0.9), 0.96021, epsilon); in TEST()
37 EXPECT_NEAR(function.Solve(0.95), 0.98863, epsilon); in TEST()
38 EXPECT_NEAR(function.Solve(1), 1, epsilon); in TEST()
41 EXPECT_EQ(0.875, basic_use.Solve(0.5)); in TEST()
44 EXPECT_EQ(1.625, overshoot.Solve(0.5)); in TEST()
47 EXPECT_EQ(-0.625, undershoot.Solve(0.5)); in TEST()
56 EXPECT_NEAR(function.Solve(0.0), 0.0, epsilon); in TEST()
57 EXPECT_NEAR(function.Solve(0.05), -0.08954, epsilon); in TEST()
58 EXPECT_NEAR(function.Solve(0.1), -0.15613, epsilon); in TEST()
59 EXPECT_NEAR(function.Solve(0.15), -0.19641, epsilon); in TEST()
60 EXPECT_NEAR(function.Solve(0.2), -0.20651, epsilon); in TEST()
61 EXPECT_NEAR(function.Solve(0.25), -0.18232, epsilon); in TEST()
62 EXPECT_NEAR(function.Solve(0.3), -0.11992, epsilon); in TEST()
63 EXPECT_NEAR(function.Solve(0.35), -0.01672, epsilon); in TEST()
64 EXPECT_NEAR(function.Solve(0.4), 0.12660, epsilon); in TEST()
65 EXPECT_NEAR(function.Solve(0.45), 0.30349, epsilon); in TEST()
66 EXPECT_NEAR(function.Solve(0.5), 0.50000, epsilon); in TEST()
67 EXPECT_NEAR(function.Solve(0.55), 0.69651, epsilon); in TEST()
68 EXPECT_NEAR(function.Solve(0.6), 0.87340, epsilon); in TEST()
69 EXPECT_NEAR(function.Solve(0.65), 1.01672, epsilon); in TEST()
70 EXPECT_NEAR(function.Solve(0.7), 1.11992, epsilon); in TEST()
71 EXPECT_NEAR(function.Solve(0.75), 1.18232, epsilon); in TEST()
72 EXPECT_NEAR(function.Solve(0.8), 1.20651, epsilon); in TEST()
73 EXPECT_NEAR(function.Solve(0.85), 1.19641, epsilon); in TEST()
74 EXPECT_NEAR(function.Solve(0.9), 1.15613, epsilon); in TEST()
75 EXPECT_NEAR(function.Solve(0.95), 1.08954, epsilon); in TEST()
76 EXPECT_NEAR(function.Solve(1.0), 1.0, epsilon); in TEST()
169 EXPECT_EQ(-2.0, simple.Solve(-1.0)); in TEST()
170 EXPECT_EQ(1.0, simple.Solve(2.0)); in TEST()
173 EXPECT_EQ(0.0, at_edge_of_range.Solve(0.0)); in TEST()
174 EXPECT_EQ(1.0, at_edge_of_range.Solve(1.0)); in TEST()
181 EXPECT_EQ(-1.0, coincident_endpoints.Solve(-1.0)); in TEST()
182 EXPECT_EQ(2.0, coincident_endpoints.Solve(2.0)); in TEST()
185 EXPECT_EQ(0.0, vertical_gradient.Solve(-1.0)); in TEST()
186 EXPECT_EQ(1.0, vertical_gradient.Solve(2.0)); in TEST()
189 EXPECT_EQ(-2.0, distinct_endpoints.Solve(-1.0)); in TEST()
190 EXPECT_EQ(2.0, distinct_endpoints.Solve(2.0)); in TEST()
193 EXPECT_EQ(-1.0, coincident_endpoint.Solve(-1.0)); in TEST()
194 EXPECT_EQ(2.0, coincident_endpoint.Solve(2.0)); in TEST()
197 EXPECT_EQ(0, three_coincident_points.Solve(-1.0)); in TEST()
198 EXPECT_EQ(2.0, three_coincident_points.Solve(2.0)); in TEST()