4#include "testing/testing.h"
95 const std::optional<int> value = bundle.
lookup_path<
int>(
"a/b/c/test");
T & ensure_mutable_inplace()
static std::optional< BundleKey > from_str(StringRef key)
bool add(BundleKey key, const BundleItemValue &value)
bool contains(BundleKey key) const
static BundlePtr create()
const T * lookup_path_ptr(StringRef path) const
void add_path_override(StringRef path, const BundleItemValue &value)
bool remove_path(StringRef path)
const BundleItemValue * lookup_path(Span< BundleKey > path) const
const BundleItemValue * lookup(BundleKey key) const
Bundle & ensure_nested_bundle(StringRef path)
bool add_path(StringRef path, const BundleItemValue &value)
T * lookup_path_for_write_ptr(StringRef path)
#define EXPECT_FALSE(result)
#define EXPECT_TRUE(result)
TEST_F(BundleTest, DefaultBundle)
ImplicitSharingPtr< Bundle > BundlePtr
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
VecBase< float, 3 > float3