forked from blender/blender
index-of-nearest-104619 #2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user