boostorg / boostorg/compute

Add more tests for exception-safety

Open
#371 0 comments 0 reactions 0 assignees View on GitHub
task test
Dominant language
C++
Stars
1.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

Add more tests to ensure that Boost.Compute both correctly throws and recovers from exceptions.

For example, add a test to `test_vector.cpp` which sets up a small vector with some values, tries to resize it larger than the device supports, ensures an exception is thrown, then checks that the original values are still correctly in place.
##

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.