Refactor buffer_descriptors test

This commit is contained in:
John Wellbelove 2020-11-24 17:08:45 +00:00
parent 658d592c96
commit 297ef42c60
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -274,3 +274,4 @@ test/random_pcg.csv
test/random_xorshift.csv
test/cmake_install.cmake
test/Makefile
test/vs2019/enc_temp_folder

View File

@ -125,8 +125,8 @@ namespace
{
BD::descriptor desc = bd.allocate();
//CHECK_EQUAL(BUFFER_SIZE, desc.max_size());
//CHECK_EQUAL(uintptr_t(&buffers[i][0]), uintptr_t(desc.data()));
CHECK_EQUAL(BUFFER_SIZE, desc.max_size());
CHECK_EQUAL(uintptr_t(&buffers[i][0]), uintptr_t(desc.data()));
}
}
//