AARE
Data analysis library for PSI hybrid detectors
Loading...
Searching...
No Matches
Functions
NDArray.test.cpp File Reference
#include "aare/core/NDArray.hpp"
#include <array>
#include <catch2/catch_test_macros.hpp>

Functions

 TEST_CASE ("Initial size is zero if no size is specified")
 
 TEST_CASE ("Construct from a DataSpan")
 
 TEST_CASE ("1D image")
 
 TEST_CASE ("Accessing a const object")
 
 TEST_CASE ("Indexing of a 2D image")
 
 TEST_CASE ("Indexing of a 3D image")
 
 TEST_CASE ("Divide double by int")
 
 TEST_CASE ("Elementwise multiplication of 3D image")
 
 TEST_CASE ("Compare two images")
 
 TEST_CASE ("Size and shape matches")
 
 TEST_CASE ("Initial value matches for all elements")
 
 TEST_CASE ("Data layout of 3D image, fast index last")
 
 TEST_CASE ("Bitwise and on data")
 
 TEST_CASE ("Elementwise operatios on images")
 

Function Documentation

◆ TEST_CASE() [1/14]

TEST_CASE ( "1D image"  )

◆ TEST_CASE() [2/14]

TEST_CASE ( "Accessing a const object"  )

◆ TEST_CASE() [3/14]

TEST_CASE ( "Bitwise and on data"  )

◆ TEST_CASE() [4/14]

TEST_CASE ( "Compare two images"  )

◆ TEST_CASE() [5/14]

TEST_CASE ( "Construct from a DataSpan"  )

◆ TEST_CASE() [6/14]

TEST_CASE ( "Data layout of 3D  image,
fast index last"   
)

◆ TEST_CASE() [7/14]

TEST_CASE ( "Divide double by int"  )

◆ TEST_CASE() [8/14]

TEST_CASE ( "Elementwise multiplication of 3D image"  )

◆ TEST_CASE() [9/14]

TEST_CASE ( "Elementwise operatios on images"  )

◆ TEST_CASE() [10/14]

TEST_CASE ( "Indexing of a 2D image"  )

◆ TEST_CASE() [11/14]

TEST_CASE ( "Indexing of a 3D image"  )

◆ TEST_CASE() [12/14]

TEST_CASE ( "Initial size is zero if no size is specified"  )

◆ TEST_CASE() [13/14]

TEST_CASE ( "Initial value matches for all elements"  )

◆ TEST_CASE() [14/14]

TEST_CASE ( "Size and shape matches"  )