MCPcopy Create free account
hub / github.com/Snapchat/Valdi / TEST

Function TEST

valdi/test/runtime/ValueArray_tests.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace ValdiTest {
17
18TEST(StaticValueArray, respondsToSize) {
19 auto array = ValueArray::make(4);
20
21 ASSERT_EQ(static_cast<size_t>(4), array->size());
22}
23
24TEST(StaticValueArray, canInsertAndGetItem) {
25 auto array = ValueArray::make(3);

Callers

nothing calls this directly

Calls 15

isIntMethod · 0.80
use_countMethod · 0.80
isBoolMethod · 0.80
cloneMethod · 0.65
copyMethod · 0.65
removeMethod · 0.65
ValueInterface · 0.50
sizeMethod · 0.45
getTypeMethod · 0.45
isDoubleMethod · 0.45
isStringMethod · 0.45
toIntMethod · 0.45

Tested by

no test coverage detected