Nugget
Loading...
Searching...
No Matches
Functions
test-fixed-point.cpp File Reference
#include "psyqo/fixed-point.hh"
#include "snitch_all.hpp"
Include dependency graph for test-fixed-point.cpp:

Functions

 TEST_CASE ("FixedPoint default construction is zero")
 
 TEST_CASE ("FixedPoint integer-fraction construction")
 
 TEST_CASE ("FixedPoint consteval float construction")
 
 TEST_CASE ("FixedPoint raw construction")
 
 TEST_CASE ("FixedPoint user-defined literal")
 
 TEST_CASE ("FixedPoint integer() rounds to nearest")
 
 TEST_CASE ("FixedPoint integer() negative rounding")
 
 TEST_CASE ("FixedPoint floor()")
 
 TEST_CASE ("FixedPoint ceil()")
 
 TEST_CASE ("FixedPoint addition")
 
 TEST_CASE ("FixedPoint addition with integer")
 
 TEST_CASE ("FixedPoint subtraction")
 
 TEST_CASE ("FixedPoint subtraction with integer")
 
 TEST_CASE ("FixedPoint multiplication fp*fp")
 
 TEST_CASE ("FixedPoint multiplication fp*int")
 
 TEST_CASE ("FixedPoint division fp/fp")
 
 TEST_CASE ("FixedPoint division fp/int")
 
 TEST_CASE ("FixedPoint unary negation")
 
 TEST_CASE ("FixedPoint abs()")
 
 TEST_CASE ("FixedPoint compound assignment operators")
 
 TEST_CASE ("FixedPoint increment/decrement")
 
 TEST_CASE ("FixedPoint comparisons")
 
 TEST_CASE ("FixedPoint bit shifts")
 
 TEST_CASE ("FixedPoint boolean not")
 
 TEST_CASE ("FixedPoint precision conversion")
 

Function Documentation

◆ TEST_CASE() [1/25]

TEST_CASE ( "FixedPoint abs()"  )

◆ TEST_CASE() [2/25]

TEST_CASE ( "FixedPoint addition with integer"  )

◆ TEST_CASE() [3/25]

TEST_CASE ( "FixedPoint addition"  )

◆ TEST_CASE() [4/25]

TEST_CASE ( "FixedPoint bit shifts"  )

◆ TEST_CASE() [5/25]

TEST_CASE ( "FixedPoint boolean not"  )

◆ TEST_CASE() [6/25]

TEST_CASE ( "FixedPoint ceil()"  )

◆ TEST_CASE() [7/25]

TEST_CASE ( "FixedPoint comparisons"  )

◆ TEST_CASE() [8/25]

TEST_CASE ( "FixedPoint compound assignment operators"  )

◆ TEST_CASE() [9/25]

TEST_CASE ( "FixedPoint consteval float construction"  )

◆ TEST_CASE() [10/25]

TEST_CASE ( "FixedPoint default construction is zero"  )

◆ TEST_CASE() [11/25]

TEST_CASE ( "FixedPoint division fp/fp"  )

◆ TEST_CASE() [12/25]

TEST_CASE ( "FixedPoint division fp/int"  )

◆ TEST_CASE() [13/25]

TEST_CASE ( "FixedPoint floor()"  )

◆ TEST_CASE() [14/25]

TEST_CASE ( "FixedPoint increment/decrement"  )

◆ TEST_CASE() [15/25]

TEST_CASE ( "FixedPoint integer() negative rounding"  )

◆ TEST_CASE() [16/25]

TEST_CASE ( "FixedPoint integer() rounds to nearest"  )

◆ TEST_CASE() [17/25]

TEST_CASE ( "FixedPoint integer-fraction construction"  )

◆ TEST_CASE() [18/25]

TEST_CASE ( "FixedPoint multiplication fp*fp"  )

◆ TEST_CASE() [19/25]

TEST_CASE ( "FixedPoint multiplication fp*int"  )

◆ TEST_CASE() [20/25]

TEST_CASE ( "FixedPoint precision conversion"  )

◆ TEST_CASE() [21/25]

TEST_CASE ( "FixedPoint raw construction"  )

◆ TEST_CASE() [22/25]

TEST_CASE ( "FixedPoint subtraction with integer"  )

◆ TEST_CASE() [23/25]

TEST_CASE ( "FixedPoint subtraction"  )

◆ TEST_CASE() [24/25]

TEST_CASE ( "FixedPoint unary negation"  )

◆ TEST_CASE() [25/25]

TEST_CASE ( "FixedPoint user-defined literal"  )