[Bf-blender-cvs] [80078ef3af0] gpencil-new-data-proposal: Rename test

Falk David noreply at git.blender.org
Fri May 13 10:29:41 CEST 2022


Commit: 80078ef3af0ad64f7bfe01557da616228e796993
Author: Falk David
Date:   Fri May 13 10:29:18 2022 +0200
Branches: gpencil-new-data-proposal
https://developer.blender.org/rB80078ef3af0ad64f7bfe01557da616228e796993

Rename test

===================================================================

M	source/blender/blenkernel/intern/gpencil_new_proposal_test.cc

===================================================================

diff --git a/source/blender/blenkernel/intern/gpencil_new_proposal_test.cc b/source/blender/blenkernel/intern/gpencil_new_proposal_test.cc
index 54e9afbb98a..d7ce5c803c6 100644
--- a/source/blender/blenkernel/intern/gpencil_new_proposal_test.cc
+++ b/source/blender/blenkernel/intern/gpencil_new_proposal_test.cc
@@ -7,7 +7,6 @@
 #include "testing/testing.h"
 #include <algorithm>
 
-
 #include "BKE_curves.hh"
 #include "BKE_gpencil.h"
 
@@ -929,9 +928,10 @@ TEST(gpencil_proposal, BigGPData)
   EXPECT_EQ(data.points_num(), 25e6);
 }
 
-TEST(gpencil_proposal, BigGPDataCopy)
+TEST(gpencil_proposal, TimeBigGPDataCopy)
 {
   int layers_num = 10, frames_num = 500, strokes_num = 100, points_num = 100;
+
   GPData data = build_gpencil_data(layers_num, frames_num, strokes_num, points_num);
   GPData data_copy;
 
@@ -939,9 +939,6 @@ TEST(gpencil_proposal, BigGPDataCopy)
   data_copy = data;
   TIMEIT_END(BigGPDataCopy);
 
-  EXPECT_EQ(data_copy.strokes_num(), layers_num * frames_num * strokes_num);
-  EXPECT_EQ(data_copy.points_num(), layers_num * frames_num * strokes_num * points_num);
-
   bGPdata *old_data = build_old_gpencil_data(layers_num, frames_num, strokes_num, points_num);
   bGPdata *old_data_copy;



More information about the Bf-blender-cvs mailing list