[WIP] World in progress
This commit is contained in:
@@ -227,32 +227,6 @@ SCENARIO("A sphere is behind a ray", "[features/spheres.feature]")
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
SCENARIO("Test Sphere Object", "[features/spheres.feature]")
|
||||
{
|
||||
GIVEN("s1 <- sphere()")
|
||||
{
|
||||
Sphere s1;
|
||||
AND_GIVEN("s2 <- s1")
|
||||
{
|
||||
Sphere s2 = s1;
|
||||
AND_GIVEN("s3 <- sphere()")
|
||||
{
|
||||
Sphere s3;
|
||||
THEN("s1 = s2")
|
||||
{
|
||||
REQUIRE(s1 == s2);
|
||||
}
|
||||
AND_THEN("s1 != s3")
|
||||
{
|
||||
REQUIRE(s1 != s3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
SCENARIO("An intersection encapsulates t and object", "[features/intersections.feature]")
|
||||
{
|
||||
GIVEN("s <- sphere()")
|
||||
|
||||
Reference in New Issue
Block a user