SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetUp()

void SpicesTest::runtime_memory_block_test::SetUp ( )
inlineoverrideprotected

The interface is inherited from testing::Test. Registry on Initialize.

Definition at line 25 of file RuntimeMemoryBlock_test.h.

25 {
26 m0.add_element("1", "float");
27 m0.add_element("2", "float2");
28 m0.add_element("3", "float3");
29 m0.add_element("4", "float4");
30 }
void add_element(const std::string &name, const std::string &type)
Add a element to object_, means a memory block will be occupied with given param type.