@ -23,6 +23,18 @@ void TestMissileRotatesUniformly(Missile &missile, int startingFrame, int leftFr
EXPECT_THAT(observed,UnorderedElementsAre(Pair(leftFrame,AllOf(Gt(30),Lt(70))),Pair(rightFrame,AllOf(Gt(30),Lt(70)))))<<"Arrows should rotate either direction roughly 50% of the time";
EXPECT_THAT(observed,UnorderedElementsAre(Pair(leftDir,AllOf(Gt(30),Lt(70))),Pair(rightDir,AllOf(Gt(30),Lt(70)))))<<"Animated missiles should rotate either direction roughly 50% of the time";
// missile can be a copy or a reference, there's no nullptr check and the functions that use it don't expect the instance to be part of a global structure so it doesn't really matter for this use.