mirror of
https://github.com/schrodinger/pymol-open-source.git
synced 2026-06-04 20:04:21 +08:00
11 lines
226 B
C++
11 lines
226 B
C++
#include "MemoryDebug.h"
|
|
#include "Test.h"
|
|
|
|
TEST_CASE("VLA Classic Alloc", "[VLA_Classic]")
|
|
{
|
|
const std::size_t size = 10;
|
|
auto ptr = VLACalloc(int, size);
|
|
REQUIRE(pymol::test::isArrayZero(ptr, size));
|
|
VLAFree(ptr);
|
|
}
|