Blender  V3.3
Namespaces | Macros | Functions
obj_import_string_utils_tests.cc File Reference
#include "obj_import_string_utils.hh"
#include "testing/testing.h"

Go to the source code of this file.

Namespaces

 blender
 
 blender::io
 
 blender::io::obj
 

Macros

#define EXPECT_STRREF_EQ(str1, str2)   EXPECT_STREQ(str1, std::string(str2).c_str())
 

Functions

 blender::io::obj::TEST (obj_import_string_utils, read_next_line)
 
 blender::io::obj::TEST (obj_import_string_utils, fixup_line_continuations)
 
static StringRef blender::io::obj::drop_whitespace (StringRef s)
 
static StringRef blender::io::obj::parse_int (StringRef s, int fallback, int &dst, bool skip_space=true)
 
static StringRef blender::io::obj::parse_float (StringRef s, float fallback, float &dst, bool skip_space=true, bool require_trailing_space=false)
 
 blender::io::obj::TEST (obj_import_string_utils, drop_whitespace)
 
 blender::io::obj::TEST (obj_import_string_utils, parse_int_valid)
 
 blender::io::obj::TEST (obj_import_string_utils, parse_int_invalid)
 
 blender::io::obj::TEST (obj_import_string_utils, parse_float_valid)
 
 blender::io::obj::TEST (obj_import_string_utils, parse_float_invalid)
 

Macro Definition Documentation

◆ EXPECT_STRREF_EQ

#define EXPECT_STRREF_EQ (   str1,
  str2 
)    EXPECT_STREQ(str1, std::string(str2).c_str())

Definition at line 9 of file obj_import_string_utils_tests.cc.