From e312accfe5d54b191f64dbde9291a2d11fea7365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Lema=C5=84czyk?= Date: Fri, 17 Mar 2023 02:09:16 +0100 Subject: [PATCH] Unused & confusing test data removed. --- .../RecyclableListTestData.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Recyclable.CollectionsTests/RecyclableListTestData.cs b/Recyclable.CollectionsTests/RecyclableListTestData.cs index 812ef35..acf61e0 100644 --- a/Recyclable.CollectionsTests/RecyclableListTestData.cs +++ b/Recyclable.CollectionsTests/RecyclableListTestData.cs @@ -70,7 +70,6 @@ namespace Recyclable.CollectionsTests _testCases = null; _sourceDataVariants = null; _targetDataVariants = null; - _testDataVariants = null; _sourceTargetDataVariants = null; _emptySourceDataVariants = null; GC.SuppressFinalize(this); @@ -102,23 +101,6 @@ namespace Recyclable.CollectionsTests private static IEnumerable? _targetDataVariants; public static IEnumerable TargetDataVariants => _targetDataVariants ??= GetTargetDataVariants().ToArray(); - private static IEnumerable GetTestDataVariants() - { - foreach (var itemsCount in ItemsCountVariants) - { - foreach (var sourceBlockSize in BlockSizeVariants) - { - foreach (var targetBlockSize in BlockSizeVariants) - { - yield return new object[] { itemsCount, sourceBlockSize, targetBlockSize }; - } - } - } - } - - private static IEnumerable? _testDataVariants; - public static IEnumerable TestDataVariants => _testDataVariants ??= GetTestDataVariants().ToArray(); - private static IEnumerable CreateSourceDataVariants() { foreach (var itemsCount in ItemsCountVariants)