Skip to content

Commit 417ae60

Browse files
committed
Remove duplicate DataRow attributes in unit tests
Eliminated repeated [DataRow(64, 4, 0)] attributes from three test methods in Test_MemoryExtensions.cs to avoid redundant test cases and improve test clarity.
1 parent 5eb6a68 commit 417ae60

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/CommunityToolkit.HighPerformance.UnitTests/Extensions/Test_MemoryExtensions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,6 @@ public void Test_MemoryExtensions_FromMemoryManager_CastFromByteAndBack_WithSlic
430430
[DataRow(64, 4, 0)]
431431
[DataRow(64, 0, 4)]
432432
[DataRow(64, 4, 4)]
433-
[DataRow(64, 4, 0)]
434433
[DataRow(256, 16, 0)]
435434
[DataRow(256, 4, 16)]
436435
[DataRow(256, 64, 0)]
@@ -460,7 +459,6 @@ public unsafe void Test_MemoryExtensions_FromArray_CastFromByte_Pin(int size, in
460459
[DataRow(64, 4, 0)]
461460
[DataRow(64, 0, 4)]
462461
[DataRow(64, 4, 4)]
463-
[DataRow(64, 4, 0)]
464462
[DataRow(256, 16, 0)]
465463
[DataRow(256, 4, 16)]
466464
[DataRow(256, 64, 0)]
@@ -511,7 +509,6 @@ public void Test_MemoryExtensions_FromString_CastFromByteAndBack()
511509
[DataRow(64, 4, 0)]
512510
[DataRow(64, 0, 4)]
513511
[DataRow(64, 4, 4)]
514-
[DataRow(64, 4, 0)]
515512
[DataRow(256, 16, 0)]
516513
[DataRow(256, 4, 16)]
517514
[DataRow(256, 64, 0)]

0 commit comments

Comments
 (0)