Lines Matching refs:stars

48     QList<Edge> stars;  in runTest()  local
49 stars.append(makeEdge(90, 70)); in runTest()
50 stars.append(makeEdge(110, 70)); in runTest()
51 stars.append(makeEdge(0, 0)); in runTest()
52 stars.append(makeEdge(10, 30)); in runTest()
53 stars.append(makeEdge(20, 70)); in runTest()
54 stars.append(makeEdge(70, 10)); in runTest()
55 stars.append(makeEdge(70, 80)); in runTest()
56 stars.append(makeEdge(80, 40)); in runTest()
57 stars.append(makeEdge(30, 20)); in runTest()
58 stars.append(makeEdge(30, 80)); in runTest()
59 stars.append(makeEdge(50, 60)); in runTest()
61 StarCorrespondence c(stars, guideStar); in runTest()
66 GuiderUtils::Vector position = c.find(stars, maxDistanceToStar, &output, false); in runTest()
67 QVERIFY2(position.x == stars[guideStar].x, "Identity"); in runTest()
68 QVERIFY2(position.y == stars[guideStar].y, "Identity"); in runTest()
69 for (int i = 0; i < stars.size(); ++i) in runTest()
77 for (int i = 0; i < stars.size(); ++i) in runTest()
80 double x = stars[i].x + rand_fraction; in runTest()
82 double y = stars[i].y + rand_fraction; in runTest()
88 for (int i = 0; i < stars.size(); ++i) in runTest()
136 guideX = stars[guideStar].x; in runTest()
137 guideY = stars[guideStar].y; in runTest()
138 stars.removeAt(guideStar); in runTest()
140 position = c.find(stars, maxDistanceToStar, &output, false); in runTest()
155 QList<Edge> stars; in runAdaptationTest() local
156 stars.append(makeEdge(100, 50)); in runAdaptationTest()
157 stars.append(makeEdge(150, 50)); in runAdaptationTest()
158 stars.append(makeEdge(100, 80)); in runAdaptationTest()
159 StarCorrespondence c(stars, 0); in runAdaptationTest()
168 stars[1].x = 151; in runAdaptationTest()
169 stars[1].y = 48; in runAdaptationTest()
173 c.find(stars, 5.0, &output, true); in runAdaptationTest()