stc
Loading...
Searching...
No Matches
Functions
2DGeometryTests.cpp File Reference
#include <catch2/catch_test_macros.hpp>
#include <cstdint>
#include <stc/Math.hpp>
#include <util/Vec2.hpp>

Functions

 TEST_CASE ("Line-line intersection", "[2D geometry][Math]")
 
 TEST_CASE ("Line-Rectangle intersection", "[2D geometry][Math]")
 
 TEST_CASE ("Sidedness", "[2D geometry][Math]")
 
 TEST_CASE ("Point in 4-point rectangle", "[2D geometry][Math]")
 
 TEST_CASE ("Point in 2-point rectangle", "[2D geometry][Math]")
 
 TEST_CASE ("Common expected line intersections on a 2-point rectangle")
 
 TEST_CASE ("Edge-case line intersections on 2-point rectangle")
 

Function Documentation

◆ TEST_CASE() [1/7]

TEST_CASE ( "Common expected line intersections on a 2-point rectangle"  )

◆ TEST_CASE() [2/7]

TEST_CASE ( "Edge-case line intersections on 2-point rectangle"  )

◆ TEST_CASE() [3/7]

TEST_CASE ( "Line-line intersection"  ,
""  [2D geometry][Math] 
)

◆ TEST_CASE() [4/7]

TEST_CASE ( "Line-Rectangle intersection"  ,
""  [2D geometry][Math] 
)

◆ TEST_CASE() [5/7]

TEST_CASE ( "Point in 2-point rectangle"  ,
""  [2D geometry][Math] 
)

◆ TEST_CASE() [6/7]

TEST_CASE ( "Point in 4-point rectangle"  ,
""  [2D geometry][Math] 
)

◆ TEST_CASE() [7/7]

TEST_CASE ( "Sidedness"  ,
""  [2D geometry][Math] 
)