index-of-nearest-104619 #2

Merged
Iliya Katushenock merged 62 commits from HooglyBoogly/blender:index-of-nearest-104619 into index_of_nearest 2023-04-20 21:19:53 +02:00
Showing only changes of commit 373cfa731f - Show all commits

View File

@ -99,7 +99,7 @@ TEST(obj_exporter_utils, append_negative_frame_to_filename)
char path_with_frame[FILE_MAX] = {0}; char path_with_frame[FILE_MAX] = {0};
const bool ok = append_frame_to_filename(path_original, frame, path_with_frame); const bool ok = append_frame_to_filename(path_original, frame, path_with_frame);
EXPECT_TRUE(ok); EXPECT_TRUE(ok);
EXPECT_EQ_ARRAY(path_with_frame, path_truth, BLI_strlen_utf8(path_truth)); EXPECT_STREQ(path_with_frame, path_truth);
} }
TEST(obj_exporter_utils, append_positive_frame_to_filename) TEST(obj_exporter_utils, append_positive_frame_to_filename)
@ -110,7 +110,7 @@ TEST(obj_exporter_utils, append_positive_frame_to_filename)
char path_with_frame[FILE_MAX] = {0}; char path_with_frame[FILE_MAX] = {0};
const bool ok = append_frame_to_filename(path_original, frame, path_with_frame); const bool ok = append_frame_to_filename(path_original, frame, path_with_frame);
EXPECT_TRUE(ok); EXPECT_TRUE(ok);
EXPECT_EQ_ARRAY(path_with_frame, path_truth, BLI_strlen_utf8(path_truth)); EXPECT_STREQ(path_with_frame, path_truth);
} }
static std::string read_temp_file_in_string(const std::string &file_path) static std::string read_temp_file_in_string(const std::string &file_path)