|
stc
|
#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") | |
| TEST_CASE | ( | "Common expected line intersections on a 2-point rectangle" | ) |
| TEST_CASE | ( | "Edge-case line intersections on 2-point rectangle" | ) |
| TEST_CASE | ( | "Line-line intersection" | , |
| "" | [2D geometry][Math] | ||
| ) |
| TEST_CASE | ( | "Line-Rectangle intersection" | , |
| "" | [2D geometry][Math] | ||
| ) |
| TEST_CASE | ( | "Point in 2-point rectangle" | , |
| "" | [2D geometry][Math] | ||
| ) |
| TEST_CASE | ( | "Point in 4-point rectangle" | , |
| "" | [2D geometry][Math] | ||
| ) |
| TEST_CASE | ( | "Sidedness" | , |
| "" | [2D geometry][Math] | ||
| ) |