[pzstd] Smart default # of threads (#331)

This commit is contained in:
Nick Terrell committed 2016-09-06 12:41:36 -07:00
1 parent 9622fe499d
commit 4c202815c7
2 files changed
+11 -4

No files matched your search

+2 -2
View File
@@ -118,11 +118,11 @@ TEST(Options, ValidInputs) {
}
}
TEST(Options, BadNumThreads) {
TEST(Options, NumThreads) {
{
Options options;
std::array<const char*, 3> args = {{nullptr, "-o", "-"}};
EXPECT_FALSE(options.parse(args.size(), args.data()));
EXPECT_TRUE(options.parse(args.size(), args.data()));
}
{
Options options;