MobileRT  1.0
A multi platform C++ CPU progressive Ray Tracer.
TestRay.cpp File Reference
#include "MobileRT/Ray.hpp"
#include "MobileRT/Utils/Constants.hpp"
#include <gtest/gtest.h>
Include dependency graph for TestRay.cpp:

Classes

class  TestRay
 

Functions

 TEST_F (TestRay, TestInvalidConstructor)
 
 TEST_F (TestRay, TestConstructor)
 
 TEST_F (TestRay, TestId)
 

Function Documentation

◆ TEST_F() [1/3]

TEST_F ( TestRay  ,
TestInvalidConstructor   
)

Tests the Ray constructor with invalid parameters.

◆ TEST_F() [2/3]

TEST_F ( TestRay  ,
TestConstructor   
)

Tests the Ray constructor.

◆ TEST_F() [3/3]

TEST_F ( TestRay  ,
TestId   
)

Tests the Ray id generator.