67 std::uniform_real_distribution<double> unif(-10000,10000);
68 std::default_random_engine re;
72 const RealPoint center(unif(re),unif(re));
73 Shape shape( center, unif(re) );
77 SECTION(
"Lower and upper bounds")
79 Shape shape( unif(re), unif(re), unif(re) );
83 SECTION(
"x() with Pi parameter.")
85 Shape shape( unif(re), unif(re), unif(re) );
86 REQUIRE_NOTHROW( shape.
x(M_PI) );
89 SECTION(
"x() with Pi parameter -> division by 0.")
91 Shape shape( unif(re), unif(re), unif(re) );
92 REQUIRE_NOTHROW( shape.
x(M_PI) );
95 SECTION(
"xp() with Pi parameter -> division by 0.")
97 Shape shape( unif(re), unif(re), unif(re) );
98 REQUIRE_NOTHROW( shape.
xp(M_PI) );
101 SECTION(
"xpp() with Pi parameter -> division by 0.")
103 Shape shape( unif(re), unif(re), unif(re) );
104 REQUIRE_NOTHROW( shape.
xp(M_PI) );