28namespace TestBullseyes
49 static bool test(
const double testDuration);
Definition of a bullseye composed of a location and a radius.
Definition Bullseye.h:32
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements tests for the Bullseye class.
Definition TestBullseye.h:36
static bool testBullseyePosition(const double testDuration, RandomGenerator &randomGenerator)
Test for Bullseye::position()
static bool testBullseyeRadius(const double testDuration, RandomGenerator &randomGenerator)
Test for Bullseye::radius()
static bool testBullseyeGrayThreshold(const double testDuration, RandomGenerator &randomGenerator)
Test for Bullseye::grayThreshold()
static bool test(const double testDuration)
Tests the Bullseye functions.
static bool testBullseyeIsValid(const double testDuration, RandomGenerator &randomGenerator)
Test for Bullseye::isValid()
static Bullseye createRandomValidBullseye(RandomGenerator &randomGenerator)
Creates a random valid bullseye with random position, radius, and gray threshold.
static bool testBullseyeConstructor(const double testDuration, RandomGenerator &randomGenerator)
Test for Bullseye constructor.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15