File: Vector3.test.cpp

package info (click to toggle)
libcsfml 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,240 kB
  • sloc: cpp: 7,741; ansic: 2,616; sh: 805; makefile: 16
file content (13 lines) | stat: -rw-r--r-- 245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <CSFML/System/Vector3.h>

#include <catch2/catch_test_macros.hpp>

TEST_CASE("[System] sfVector3")
{
    SECTION("sfVector3f")
    {
        const sfVector3f vector{};
        CHECK(vector.x == 0);
        CHECK(vector.y == 0);
    }
}