Skip to content

Commit 26274e1

Browse files
author
Alexander Strack
committed
Increment number of backends to account for HPX
1 parent fb70943 commit 26274e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/backend_types.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ TEST(BackendType, to_string) {
4444

4545
TEST(BackendType, to_string_unknown) {
4646
// check conversions to std::string from unknown backend_type
47-
EXPECT_CONVERSION_TO_STRING(static_cast<plssvm::backend_type>(7), "unknown");
47+
EXPECT_CONVERSION_TO_STRING(static_cast<plssvm::backend_type>(8), "unknown");
4848
}
4949

5050
// check whether the std::string -> plssvm::backend_type conversions are correct

tests/csvm_factory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ TEST(CSVMFactory, factory_named_parameter) {
234234
}
235235

236236
TEST(CSVMFactory, invalid_backend) {
237-
EXPECT_THROW_WHAT(std::ignore = plssvm::make_csvm(static_cast<plssvm::backend_type>(7)),
237+
EXPECT_THROW_WHAT(std::ignore = plssvm::make_csvm(static_cast<plssvm::backend_type>(8)),
238238
plssvm::unsupported_backend_exception,
239239
"Unrecognized backend provided!");
240240
}

0 commit comments

Comments
 (0)