Tests for the DeviceVector class.
More...
#include <iostream>
#include <numeric>
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include "../global/global.h"
#include "../utils/DeviceVector.h"
#include "../utils/testing_utilities.h"
|
|
| TEST (tALLDeviceVectorConstructor, CheckConstructorDataAndSizeExpectProperAllocationAndValues) |
| |
|
| TEST (tALLDeviceVectorDestructor, CheckDestructorExpectProperDeallocation) |
| |
|
| TEST (tALLDeviceVectorStdVectorHostToDeviceCopyAndIndexing, CheckDeviceMemoryValuesAndIndexingOperationsExpectCorrectMemoryValues) |
| |
|
| TEST (tALLDeviceVectorArrayHostToDeviceCopyAndIndexing, CheckDeviceMemoryValuesAndIndexingOperationsExpectCorrectMemoryValues) |
| |
|
| TEST (tALLDeviceVectorArrayAssignmentMethod, AssignSingleValuesExpectCorrectMemoryValues) |
| |
|
| TEST (tALLDeviceVectorStdVectorDeviceToHostCopy, CheckHostMemoryValuesExpectCorrectMemoryValues) |
| |
|
| TEST (tALLDeviceVectorArrayDeviceToHostCopy, CheckHostMemoryValuesExpectCorrectMemoryValues) |
| |
|
| TEST (tALLDeviceVectorReset, SetNewSizeExpectCorrectSize) |
| |
|
| TEST (tALLDeviceVectorResize, SetLargerSizeExpectCorrectSize) |
| |
|
| TEST (tALLDeviceVectorResize, SetSmallerSizeExpectCorrectSize) |
| |
|
| TEST (tALLDeviceVectorAt, OutOfBoundsAccessExpectThrowOutOfRange) |
| |
|
| TEST (tALLDeviceVectorStdVectorHostToDeviceCopy, OutOfBoundsCopyExpectThrowOutOfRange) |
| |
|
| TEST (tALLDeviceVectorStdVectorDeviceToHostCopy, OutOfBoundsCopyExpectThrowOutOfRange) |
| |
Tests for the DeviceVector class.
Tests for the FrozenKeyIdxBiMap class.
- Author
- Robert 'Bob' Caddy (rvc@p.nosp@m.itt..nosp@m.edu)