public void RunTests() { TestsExtensions.TestEquals(nameof(NullSelectMany), NullSelectMany, NullSelectManyRewritten); TestsExtensions.TestEquals(nameof(NullableSelectMany), NullableSelectMany, NullableSelectManyRewritten); TestsExtensions.TestEquals(nameof(SelectManyArray), SelectManyArray, SelectManyArrayRewritten); TestsExtensions.TestEquals(nameof(SelectManyList), SelectManyList, SelectManyListRewritten); TestsExtensions.TestEquals(nameof(SelectManySimpleList), SelectManySimpleList, SelectManySimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectManyEnumerable), SelectManyEnumerable, SelectManyEnumerableRewritten); TestsExtensions.TestEquals(nameof(SelectManyArrayToArray), SelectManyArrayToArray, SelectManyArrayToArrayRewritten); TestsExtensions.TestEquals(nameof(SelectManyListToArray), SelectManyListToArray, SelectManyListToArrayRewritten); TestsExtensions.TestEquals(nameof(SelectManyEnumerableToArray), SelectManyEnumerableToArray, SelectManyEnumerableToArrayRewritten); TestsExtensions.TestEquals(nameof(SelectManySimpleListToArray), SelectManySimpleListToArray, SelectManySimpleListToArrayRewritten); TestsExtensions.TestEquals(nameof(SelectManyArrayToSimpleList), SelectManyArrayToSimpleList, SelectManyArrayToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectManyListToSimpleList), SelectManyListToSimpleList, SelectManyListToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectManyEnumerableToSimpleList), SelectManyEnumerableToSimpleList, SelectManyEnumerableToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectManySimpleListToSimpleList), SelectManySimpleListToSimpleList, SelectManySimpleListToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectManyArrayToList), SelectManyArrayToList, SelectManyArrayToListRewritten); TestsExtensions.TestEquals(nameof(SelectManyListToList), SelectManyListToList, SelectManyListToListRewritten); TestsExtensions.TestEquals(nameof(SelectManyEnumerableToList), SelectManyEnumerableToList, SelectManyEnumerableToListRewritten); TestsExtensions.TestEquals(nameof(SelectManySimpleListToList), SelectManySimpleListToList, SelectManySimpleListToListRewritten); TestsExtensions.TestEquals(nameof(SelectManyStaticArray), SelectManyStaticArray, SelectManyStaticArrayRewritten); TestsExtensions.TestEquals(nameof(SelectManyMethodManySelector), SelectManyMethodManySelector, SelectManyMethodManySelectorRewritten); TestsExtensions.TestEquals(nameof(StaticSelectMany), StaticSelectMany, StaticSelectManyRewritten); TestsExtensions.TestEquals(nameof(StaticClassSelectMany), StaticClassSelectMany, StaticClassSelectManyRewritten); TestsExtensions.TestEquals(nameof(MultipleSelectMany), MultipleSelectMany, MultipleSelectManyRewritten); TestsExtensions.TestEquals(nameof(StaticSelectMany), StaticSelectMany, StaticSelectManyRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArraySequenceEqualArray), ArraySequenceEqualArray, ArraySequenceEqualArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualSimpleList), ArraySequenceEqualSimpleList, ArraySequenceEqualSimpleListRewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualEnumerable), ArraySequenceEqualEnumerable, ArraySequenceEqualEnumerableRewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualMethod), ArraySequenceEqualMethod, ArraySequenceEqualMethodRewritten); TestsExtensions.TestEquals(nameof(SimpleListSequenceEqualArray), SimpleListSequenceEqualArray, SimpleListSequenceEqualArrayRewritten); TestsExtensions.TestEquals(nameof(SimpleListSequenceEqualSimpleList), SimpleListSequenceEqualSimpleList, SimpleListSequenceEqualSimpleListRewritten); TestsExtensions.TestEquals(nameof(SimpleListSequenceEqualEnumerable), SimpleListSequenceEqualEnumerable, SimpleListSequenceEqualEnumerableRewritten); TestsExtensions.TestEquals(nameof(SimpleListSequenceEqualMethod), SimpleListSequenceEqualMethod, SimpleListSequenceEqualMethodRewritten); TestsExtensions.TestEquals(nameof(EnumerableSequenceEqualArray), EnumerableSequenceEqualArray, EnumerableSequenceEqualArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableSequenceEqualSimpleList), EnumerableSequenceEqualSimpleList, EnumerableSequenceEqualSimpleListRewritten); TestsExtensions.TestEquals(nameof(EnumerableSequenceEqualEnumerable), EnumerableSequenceEqualEnumerable, EnumerableSequenceEqualEnumerableRewritten); TestsExtensions.TestEquals(nameof(EnumerableSequenceEqualMethod), EnumerableSequenceEqualMethod, EnumerableSequenceEqualMethodRewritten); TestsExtensions.TestEquals(nameof(MethodSequenceEqualArray), MethodSequenceEqualArray, MethodSequenceEqualArrayRewritten); TestsExtensions.TestEquals(nameof(MethodSequenceEqualSimpleList), MethodSequenceEqualSimpleList, MethodSequenceEqualSimpleListRewritten); TestsExtensions.TestEquals(nameof(MethodSequenceEqualEnumerable), MethodSequenceEqualEnumerable, MethodSequenceEqualEnumerableRewritten); TestsExtensions.TestEquals(nameof(MethodSequenceEqualMethod), MethodSequenceEqualMethod, MethodSequenceEqualMethodRewritten); TestsExtensions.TestEquals(nameof(ArraySelectSequenceEqualArray), ArraySelectSequenceEqualArray, ArraySelectSequenceEqualArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectSequenceEqualArraySelect), ArraySelectSequenceEqualArraySelect, ArraySelectSequenceEqualArraySelectRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereSequenceEqualArrayWhere), ArrayWhereSequenceEqualArrayWhere, ArrayWhereSequenceEqualArrayWhereRewritten); TestsExtensions.TestEquals(nameof(SelectWhereArraySequenceEqualSelectWhereArray), SelectWhereArraySequenceEqualSelectWhereArray, SelectWhereArraySequenceEqualSelectWhereArrayRewritten); TestsExtensions.TestEquals(nameof(RangeSequenceEqualArray), RangeSequenceEqualArray, RangeSequenceEqualArrayRewritten); TestsExtensions.TestEquals(nameof(RepeatSequenceEqualArray), RepeatSequenceEqualArray, RepeatSequenceEqualArrayRewritten); TestsExtensions.TestEquals(nameof(EmptySequenceEqualArray), EmptySequenceEqualArray, EmptySequenceEqualArrayRewritten); TestsExtensions.TestEquals(nameof(RangeEmpty2Array), RangeEmpty2Array, RangeEmpty2ArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualRange), ArraySequenceEqualRange, ArraySequenceEqualRangeRewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualRepeat), ArraySequenceEqualRepeat, ArraySequenceEqualRepeatRewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualEmpty), ArraySequenceEqualEmpty, ArraySequenceEqualEmptyRewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualEmpty2), ArraySequenceEqualEmpty2, ArraySequenceEqualEmpty2Rewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualAll), ArraySequenceEqualAll, ArraySequenceEqualAllRewritten); TestsExtensions.TestEquals(nameof(ArraySequenceEqualNull), ArraySequenceEqualNull, ArraySequenceEqualNullRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctSequenceEqualArrayDistinct), ArrayDistinctSequenceEqualArrayDistinct, ArrayDistinctSequenceEqualArrayDistinctRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctSequenceEqualArrayDistinct2), ArrayDistinctSequenceEqualArrayDistinct, ArrayDistinctSequenceEqualArrayDistinct2Rewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayTake), ArrayTake, ArrayTakeRewritten); TestsExtensions.TestEquals(nameof(ArrayTake0), ArrayTake0, ArrayTake0Rewritten); TestsExtensions.TestEquals(nameof(ArrayTakeM1), ArrayTakeM1, ArrayTakeM1Rewritten); TestsExtensions.TestEquals(nameof(ArrayTake1000), ArrayTake1000, ArrayTake1000Rewritten); TestsExtensions.TestEquals(nameof(ArrayTakeParam), ArrayTakeParam, ArrayTakeParamRewritten); TestsExtensions.TestEquals(nameof(EnumerableTake), EnumerableTake, EnumerableTakeRewritten); TestsExtensions.TestEquals(nameof(EnumerableTake0), EnumerableTake0, EnumerableTake0Rewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeM1), EnumerableTakeM1, EnumerableTakeM1Rewritten); TestsExtensions.TestEquals(nameof(EnumerableTake1000), EnumerableTake1000, EnumerableTake1000Rewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeParam), EnumerableTakeParam, EnumerableTakeParamRewritten); TestsExtensions.TestEquals(nameof(RangeTake), RangeTake, RangeTakeRewritten); TestsExtensions.TestEquals(nameof(RangeTake0), RangeTake0, RangeTake0Rewritten); TestsExtensions.TestEquals(nameof(RangeTakeM1), RangeTakeM1, RangeTakeM1Rewritten); TestsExtensions.TestEquals(nameof(RangeTake1000), RangeTake1000, RangeTake1000Rewritten); TestsExtensions.TestEquals(nameof(RangeTakeParam), RangeTakeParam, RangeTakeParamRewritten); TestsExtensions.TestEquals(nameof(RepeatTake), RepeatTake, RepeatTakeRewritten); TestsExtensions.TestEquals(nameof(RepeatTake0), RepeatTake0, RepeatTake0Rewritten); TestsExtensions.TestEquals(nameof(RepeatTakeM1), RepeatTakeM1, RepeatTakeM1Rewritten); TestsExtensions.TestEquals(nameof(RepeatTake1000), RepeatTake1000, RepeatTake1000Rewritten); TestsExtensions.TestEquals(nameof(RepeatTakeParam), RepeatTakeParam, RepeatTakeParamRewritten); TestsExtensions.TestEquals(nameof(ArraySelectTakeToArray), ArraySelectTakeToArray, ArraySelectTakeToArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectTakeM1ToArray), ArraySelectTakeM1ToArray, ArraySelectTakeM1ToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereTakeToArray), ArrayWhereTakeToArray, ArrayWhereTakeToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereFalseTakeToArray), ArrayWhereFalseTakeToArray, ArrayWhereFalseTakeToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeToArray), ArrayTakeToArray, ArrayTakeToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeToArray), EnumerableTakeToArray, EnumerableTakeToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeTakeToArray), RangeTakeToArray, RangeTakeToArrayRewritten); TestsExtensions.TestEquals(nameof(RepeatTakeToArray), RepeatTakeToArray, RepeatTakeToArrayRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArraySkip), ArraySkip, ArraySkipRewritten); TestsExtensions.TestEquals(nameof(ArraySkip0), ArraySkip0, ArraySkip0Rewritten); TestsExtensions.TestEquals(nameof(ArraySkipM1), ArraySkipM1, ArraySkipM1Rewritten); TestsExtensions.TestEquals(nameof(ArraySkip1000), ArraySkip1000, ArraySkip1000Rewritten); TestsExtensions.TestEquals(nameof(ArraySkipParam), ArraySkipParam, ArraySkipParamRewritten); TestsExtensions.TestEquals(nameof(EnumerableSkip), EnumerableSkip, EnumerableSkipRewritten); TestsExtensions.TestEquals(nameof(EnumerableSkip0), EnumerableSkip0, EnumerableSkip0Rewritten); TestsExtensions.TestEquals(nameof(EnumerableSkipM1), EnumerableSkipM1, EnumerableSkipM1Rewritten); TestsExtensions.TestEquals(nameof(EnumerableSkip1000), EnumerableSkip1000, EnumerableSkip1000Rewritten); TestsExtensions.TestEquals(nameof(EnumerableSkipParam), EnumerableSkipParam, EnumerableSkipParamRewritten); TestsExtensions.TestEquals(nameof(RangeSkip), RangeSkip, RangeSkipRewritten); TestsExtensions.TestEquals(nameof(RangeSkip0), RangeSkip0, RangeSkip0Rewritten); TestsExtensions.TestEquals(nameof(RangeSkipM1), RangeSkipM1, RangeSkipM1Rewritten); TestsExtensions.TestEquals(nameof(RangeSkip1000), RangeSkip1000, RangeSkip1000Rewritten); TestsExtensions.TestEquals(nameof(RangeSkipParam), RangeSkipParam, RangeSkipParamRewritten); TestsExtensions.TestEquals(nameof(RepeatSkip), RepeatSkip, RepeatSkipRewritten); TestsExtensions.TestEquals(nameof(RepeatSkip0), RepeatSkip0, RepeatSkip0Rewritten); TestsExtensions.TestEquals(nameof(RepeatSkipM1), RepeatSkipM1, RepeatSkipM1Rewritten); TestsExtensions.TestEquals(nameof(RepeatSkip1000), RepeatSkip1000, RepeatSkip1000Rewritten); TestsExtensions.TestEquals(nameof(RepeatSkipParam), RepeatSkipParam, RepeatSkipParamRewritten); TestsExtensions.TestEquals(nameof(ArraySelectSkipToArray), ArraySelectSkipToArray, ArraySelectSkipToArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectSkipM1ToArray), ArraySelectSkipM1ToArray, ArraySelectSkipM1ToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereSkipToArray), ArrayWhereSkipToArray, ArrayWhereSkipToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereFalseSkipToArray), ArrayWhereFalseSkipToArray, ArrayWhereFalseSkipToArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySkipToArray), ArraySkipToArray, ArraySkipToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableSkipToArray), EnumerableSkipToArray, EnumerableSkipToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeSkipToArray), RangeSkipToArray, RangeSkipToArrayRewritten); TestsExtensions.TestEquals(nameof(RepeatSkipToArray), RepeatSkipToArray, RepeatSkipToArrayRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayForEach), ArrayForEach, ArrayForEachRewritten); TestsExtensions.TestEquals(nameof(EnumerableForEach), EnumerableForEach, EnumerableForEachRewritten); TestsExtensions.TestEquals(nameof(NullForEach), NullForEach, NullForEachRewritten); TestsExtensions.TestEquals(nameof(NullableForEach), NullableForEach, NullableForEachRewritten); TestsExtensions.TestEquals(nameof(ArrayChangingParamsForEach), ArrayChangingParamsForEach, ArrayChangingParamsForEachRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(Range1), Range1, Range1Rewritten); TestsExtensions.TestEquals(nameof(Range2), Range2, Range2Rewritten); TestsExtensions.TestEquals(nameof(Range3), Range3, Range3Rewritten); TestsExtensions.TestEquals(nameof(Range4), Range4, Range4Rewritten); TestsExtensions.TestEquals(nameof(RangeToArray), RangeToArray, RangeToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeToList), RangeToList, RangeToListRewritten); TestsExtensions.TestEquals(nameof(RangeToSimpleList), RangeToSimpleList, RangeToSimpleListRewritten); TestsExtensions.TestEquals(nameof(RangeDistinct), RangeDistinct, RangeDistinctRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayElementAtOrDefault), ArrayElementAtOrDefault, ArrayElementAtOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArraySelectElementAtOrDefault), ArraySelectElementAtOrDefault, ArraySelectElementAtOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereElementAtOrDefault), ArrayWhereElementAtOrDefault, ArrayWhereElementAtOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArraySelectWhereElementAtOrDefault), ArraySelectWhereElementAtOrDefault, ArraySelectWhereElementAtOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArrayElementAtOrDefaultParam), ArrayElementAtOrDefaultParam, ArrayElementAtOrDefaultParamRewritten); TestsExtensions.TestEquals(nameof(EnumerableElementAtOrDefault), EnumerableElementAtOrDefault, EnumerableElementAtOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArrayElementAtOrDefaultOut), ArrayElementAtOrDefaultOut, ArrayElementAtOrDefaultOutRewritten); TestsExtensions.TestEquals(nameof(ArrayElementAtOrDefaultWhereOut), ArrayElementAtOrDefaultWhereOut, ArrayElementAtOrDefaultWhereOutRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(Repeat1), Repeat1, Repeat1Rewritten); TestsExtensions.TestEquals(nameof(Repeat2), Repeat2, Repeat2Rewritten); TestsExtensions.TestEquals(nameof(Repeat3), Repeat3, Repeat3Rewritten); TestsExtensions.TestEquals(nameof(Repeat4), Repeat4, Repeat4Rewritten); TestsExtensions.TestEquals(nameof(RepeatToArray), RepeatToArray, RepeatToArrayRewritten); TestsExtensions.TestEquals(nameof(RepeatToList), RepeatToList, RepeatToListRewritten); TestsExtensions.TestEquals(nameof(RepeatToSimpleList), RepeatToSimpleList, RepeatToSimpleListRewritten); TestsExtensions.TestEquals(nameof(RepeatDistinct), RepeatDistinct, RepeatDistinctRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayDistinct), ArrayDistinct, ArrayDistinctRewritten); TestsExtensions.TestEquals(nameof(ArrayDefaultComparerDistinct), ArrayDefaultComparerDistinct, ArrayDefaultComparerDistinctRewritten); TestsExtensions.TestEquals(nameof(ArrayStrangeComparerDistinct), ArrayStrangeComparerDistinct, ArrayStrangeComparerDistinctRewritten); TestsExtensions.TestEquals(nameof(ArrayRepeatDistinct), ArrayRepeatDistinct, ArrayRepeatDistinctRewritten); TestsExtensions.TestEquals(nameof(EnumerableDistinct), EnumerableDistinct, EnumerableDistinctRewritten); TestsExtensions.TestEquals(nameof(ArraySelectDistinct), ArraySelectDistinct, ArraySelectDistinctRewritten); TestsExtensions.TestEquals(nameof(RepeatArraySelectDistinct), RepeatArraySelectDistinct, RepeatArraySelectDistinctRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereSelectDistinct), ArrayWhereSelectDistinct, ArrayWhereSelectDistinctRewritten); TestsExtensions.TestEquals(nameof(EnumerableDistinctToArray), EnumerableDistinctToArray, EnumerableDistinctToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctToArray), ArrayDistinctToArray, ArrayDistinctToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctToSimpleList), ArrayDistinctToSimpleList, ArrayDistinctToSimpleListRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayOfType), ArrayOfType, ArrayOfTypeRewritten); TestsExtensions.TestEquals(nameof(ArrayOfType2), ArrayOfType2, ArrayOfType2Rewritten); TestsExtensions.TestEquals(nameof(ArrayOfType3), ArrayOfType3, ArrayOfType3Rewritten); TestsExtensions.TestEquals(nameof(ArrayOfType4), ArrayOfType4, ArrayOfType4Rewritten); TestsExtensions.TestEquals(nameof(ArraySelectOfType), ArraySelectOfType, ArraySelectOfTypeRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereOfType), ArrayWhereOfType, ArrayWhereOfTypeRewritten); TestsExtensions.TestEquals(nameof(ArrayOfTypeAverage), ArrayOfTypeAverage, ArrayOfTypeAverageRewritten); TestsExtensions.TestEquals(nameof(ArrayOfTypeAny), ArrayOfTypeAny, ArrayOfTypeAnyRewritten); TestsExtensions.TestEquals(nameof(ArrayOfTypeAggregate), ArrayOfTypeAggregate, ArrayOfTypeAggregateRewritten); TestsExtensions.TestEquals(nameof(EnumerableOfType), EnumerableOfType, EnumerableOfTypeRewritten); TestsExtensions.TestEquals(nameof(EnumerableOfTypeToArray), EnumerableOfTypeToArray, EnumerableOfTypeToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayOfTypeToArray), ArrayOfTypeToArray, ArrayOfTypeToArrayRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayCast), ArrayCast, ArrayCastRewritten); TestsExtensions.TestEquals(nameof(ArrayCast2), ArrayCast2, ArrayCast2Rewritten); TestsExtensions.TestEquals(nameof(ArrayCast3), ArrayCast3, ArrayCast3Rewritten); TestsExtensions.TestEquals(nameof(ArrayCast4), ArrayCast4, ArrayCast4Rewritten); TestsExtensions.TestEquals(nameof(ArraySelectCast), ArraySelectCast, ArraySelectCastRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereCast), ArrayWhereCast, ArrayWhereCastRewritten); TestsExtensions.TestEquals(nameof(ArrayCastAverage), ArrayCastAverage, ArrayCastAverageRewritten); TestsExtensions.TestEquals(nameof(ArrayCastAny), ArrayCastAny, ArrayCastAnyRewritten); TestsExtensions.TestEquals(nameof(ArrayCastAggregate), ArrayCastAggregate, ArrayCastAggregateRewritten); TestsExtensions.TestEquals(nameof(EnumerableCast), EnumerableCast, EnumerableCastRewritten); TestsExtensions.TestEquals(nameof(EnumerableCastToArray), EnumerableCastToArray, EnumerableCastToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayCastToArray), ArrayCastToArray, ArrayCastToArrayRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayContains), ArrayContains, ArrayContainsRewritten); TestsExtensions.TestEquals(nameof(ArrayContains2), ArrayContains2, ArrayContains2Rewritten); TestsExtensions.TestEquals(nameof(ArrayContains3), ArrayContains3, ArrayContains3Rewritten); TestsExtensions.TestEquals(nameof(ArraySelectContains), ArraySelectContains, ArraySelectContainsRewritten); TestsExtensions.TestEquals(nameof(ArraySelectContains2), ArraySelectContains2, ArraySelectContains2Rewritten); TestsExtensions.TestEquals(nameof(ArraySelectContains3), ArraySelectContains3, ArraySelectContains3Rewritten); TestsExtensions.TestEquals(nameof(ArrayWhereContains), ArrayWhereContains, ArrayWhereContainsRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereContains2), ArrayWhereContains2, ArrayWhereContains2Rewritten); TestsExtensions.TestEquals(nameof(ArrayWhereContains3), ArrayWhereContains3, ArrayWhereContains3Rewritten); TestsExtensions.TestEquals(nameof(EnumerableContains), EnumerableContains, EnumerableContainsRewritten); TestsExtensions.TestEquals(nameof(EnumerableContains2), EnumerableContains2, EnumerableContains2Rewritten); TestsExtensions.TestEquals(nameof(EnumerableContains3), EnumerableContains3, EnumerableContains3Rewritten); TestsExtensions.TestEquals(nameof(EnumerableContainsNot), EnumerableContainsNot, EnumerableContainsNotRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(Empty), Empty, EmptyRewritten); TestsExtensions.TestEquals(nameof(EmptyToArray), EmptyToArray, EmptyToArrayRewritten); TestsExtensions.TestEquals(nameof(EmptyToList), EmptyToList, EmptyToListRewritten); TestsExtensions.TestEquals(nameof(EmptyToSimpleList), EmptyToSimpleList, EmptyToSimpleListRewritten); TestsExtensions.TestEquals(nameof(EmptySelect), EmptySelect, EmptySelectRewritten); TestsExtensions.TestEquals(nameof(EmptyWhere), EmptyWhere, EmptyWhereRewritten); TestsExtensions.TestEquals(nameof(EmptyDistinct), EmptyDistinct, EmptyDistinctRewritten); TestsExtensions.TestEquals(nameof(EmptyCount), EmptyCount, EmptyCountRewritten); TestsExtensions.TestEquals(nameof(EmptyContains), EmptyContains, EmptyContainsRewritten); TestsExtensions.TestEquals(nameof(EmptyCast), EmptyCast, EmptyCastRewritten); TestsExtensions.TestEquals(nameof(EmptyAny), EmptyAny, EmptyAnyRewritten); TestsExtensions.TestEquals(nameof(EmptyAggregateDefault), EmptyAggregateDefault, EmptyAggregateDefaultRewritten); TestsExtensions.TestEquals(nameof(EmptyAggregate), EmptyAggregate, EmptyAggregateRewritten); TestsExtensions.TestEquals(nameof(EmptyAverage), EmptyAverage, EmptyAverageRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(Single), Single, SingleRewritten); TestsExtensions.TestEquals(nameof(EnumerableSingle), EnumerableSingle, EnumerableSingleRewritten); TestsExtensions.TestEquals(nameof(SingleCondition), SingleCondition, SingleConditionRewritten); TestsExtensions.TestEquals(nameof(SingleFalseCondition), SingleFalseCondition, SingleFalseConditionRewritten); TestsExtensions.TestEquals(nameof(SingleMethod), SingleMethod, SingleMethodRewritten); TestsExtensions.TestEquals(nameof(SingleWhereMethod), SingleWhereMethod, SingleWhereMethodRewritten); TestsExtensions.TestEquals(nameof(SelectSingleMethod), SelectSingleMethod, SelectSingleMethodRewritten); TestsExtensions.TestEquals(nameof(RangeSingle), RangeSingle, RangeSingleRewritten); TestsExtensions.TestEquals(nameof(Range1Single), Range1Single, Range1SingleRewritten); TestsExtensions.TestEquals(nameof(RangeRepeat), RangeRepeat, RangeRepeatRewritten); TestsExtensions.TestEquals(nameof(EmptySingle), EmptySingle, EmptySingleRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctSingle), ArrayDistinctSingle, ArrayDistinctSingleRewritten); TestsExtensions.TestEquals(nameof(ArraySingleParam), ArraySingleParam, ArraySingleParamRewritten); TestsExtensions.TestEquals(nameof(ArraySingleChangingParam), ArraySingleChangingParam, ArraySingleChangingParamRewritten); TestsExtensions.TestEquals(nameof(ArraySingleUsingSingle), ArraySingleUsingSingle, ArraySingleUsingSingleRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(SingleOrDefault), SingleOrDefault, SingleOrDefaultRewritten); TestsExtensions.TestEquals(nameof(EnumerableSingleOrDefault), EnumerableSingleOrDefault, EnumerableSingleOrDefaultRewritten); TestsExtensions.TestEquals(nameof(SingleOrDefaultCondition), SingleOrDefaultCondition, SingleOrDefaultConditionRewritten); TestsExtensions.TestEquals(nameof(SingleOrDefaultFalseCondition), SingleOrDefaultFalseCondition, SingleOrDefaultFalseConditionRewritten); TestsExtensions.TestEquals(nameof(SingleOrDefaultMethod), SingleOrDefaultMethod, SingleOrDefaultMethodRewritten); TestsExtensions.TestEquals(nameof(SingleOrDefaultWhereMethod), SingleOrDefaultWhereMethod, SingleOrDefaultWhereMethodRewritten); TestsExtensions.TestEquals(nameof(SelectSingleOrDefaultMethod), SelectSingleOrDefaultMethod, SelectSingleOrDefaultMethodRewritten); TestsExtensions.TestEquals(nameof(RangeSingleOrDefault), RangeSingleOrDefault, RangeSingleOrDefaultRewritten); TestsExtensions.TestEquals(nameof(Range1SingleOrDefault), Range1SingleOrDefault, Range1SingleOrDefaultRewritten); TestsExtensions.TestEquals(nameof(RangeRepeat), RangeRepeat, RangeRepeatRewritten); TestsExtensions.TestEquals(nameof(EmptySingleOrDefault), EmptySingleOrDefault, EmptySingleOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctSingleOrDefault), ArrayDistinctSingleOrDefault, ArrayDistinctSingleOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArraySingleOrDefaultParam), ArraySingleOrDefaultParam, ArraySingleOrDefaultParamRewritten); TestsExtensions.TestEquals(nameof(ArraySingleOrDefaultChangingParam), ArraySingleOrDefaultChangingParam, ArraySingleOrDefaultChangingParamRewritten); TestsExtensions.TestEquals(nameof(ArraySingleOrDefaultUsingSingleOrDefault), ArraySingleOrDefaultUsingSingleOrDefault, ArraySingleOrDefaultUsingSingleOrDefaultRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayAny), ArrayAny, ArrayAnyRewritten); TestsExtensions.TestEquals(nameof(ArraySelectAny), ArraySelectAny, ArraySelectAnyRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereAny), ArrayWhereAny, ArrayWhereAnyRewritten); TestsExtensions.TestEquals(nameof(ArrayEmptyAny), ArrayEmptyAny, ArrayEmptyAnyRewritten); TestsExtensions.TestEquals(nameof(ArraySelectEmptyAny), ArraySelectEmptyAny, ArraySelectEmptyAnyRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereEmptyAny), ArrayWhereEmptyAny, ArrayWhereEmptyAnyRewritten); TestsExtensions.TestEquals(nameof(ArrayAnyFalse), ArrayAnyFalse, ArrayAnyFalseRewritten); TestsExtensions.TestEquals(nameof(ArrayAnyPredicate), ArrayAnyPredicate, ArrayAnyPredicateRewritten); TestsExtensions.TestEquals(nameof(ArrayAnyParameter), ArrayAnyParameter, ArrayAnyParameterRewritten); TestsExtensions.TestEquals(nameof(ArrayAnyChangingParameter), ArrayAnyChangingParameter, ArrayAnyChangingParameterRewritten); TestsExtensions.TestEquals(nameof(EnumerableAnyChangingParameter), EnumerableAnyChangingParameter, EnumerableAnyChangingParameterRewritten); TestsExtensions.TestEquals(nameof(EnumerableAny), EnumerableAny, EnumerableAnyRewritten); TestsExtensions.TestEquals(nameof(RepeatAny), RepeatAny, RepeatAnyRewritten); TestsExtensions.TestEquals(nameof(RangeAny), RangeAny, RangeAnyRewritten); TestsExtensions.TestEquals(nameof(RepeatAnyTrue), RepeatAnyTrue, RepeatAnyTrueRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(First), First, FirstRewritten); TestsExtensions.TestEquals(nameof(EnumerableFirst), EnumerableFirst, EnumerableFirstRewritten); TestsExtensions.TestEquals(nameof(FirstCondition), FirstCondition, FirstConditionRewritten); TestsExtensions.TestEquals(nameof(FirstFalseCondition), FirstFalseCondition, FirstFalseConditionRewritten); TestsExtensions.TestEquals(nameof(FirstMethod), FirstMethod, FirstMethodRewritten); TestsExtensions.TestEquals(nameof(FirstWhereMethod), FirstWhereMethod, FirstWhereMethodRewritten); TestsExtensions.TestEquals(nameof(SelectFirstMethod), SelectFirstMethod, SelectFirstMethodRewritten); TestsExtensions.TestEquals(nameof(RangeFirst), RangeFirst, RangeFirstRewritten); TestsExtensions.TestEquals(nameof(Range1First), Range1First, Range1FirstRewritten); TestsExtensions.TestEquals(nameof(RangeRepeat), RangeRepeat, RangeRepeatRewritten); TestsExtensions.TestEquals(nameof(EmptyFirst), EmptyFirst, EmptyFirstRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctFirst), ArrayDistinctFirst, ArrayDistinctFirstRewritten); TestsExtensions.TestEquals(nameof(ArrayFirstParam), ArrayFirstParam, ArrayFirstParamRewritten); TestsExtensions.TestEquals(nameof(ArrayFirstChangingParam), ArrayFirstChangingParam, ArrayFirstChangingParamRewritten); TestsExtensions.TestEquals(nameof(ArrayFirstUsingFirst), ArrayFirstUsingFirst, ArrayFirstUsingFirstRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayToArrayTest), ArrayToArrayTest, ArrayToArrayTestRewritten); TestsExtensions.TestEquals(nameof(ListToArrayTest), ListToArrayTest, ListToArrayTestRewritten); TestsExtensions.TestEquals(nameof(SimpleListToArrayTest), SimpleListToArrayTest, SimpleListToArrayTestRewritten); TestsExtensions.TestEquals(nameof(EnumerableToArrayTest), EnumerableToArrayTest, EnumerableToArrayTestRewritten); for (int i = -1; i < 1001; i++) { TestsExtensions.TestEquals(nameof(ArrayWhereParamToArrayTest) + i, () => ArrayWhereParamToArrayTest(i), () => ArrayWhereParamToArrayTestRewritten(i)); TestsExtensions.TestEquals(nameof(EnumerableWhereParamToArrayTest) + i, () => EnumerableWhereParamToArrayTest(i), () => EnumerableWhereParamToArrayTestRewritten(i)); TestsExtensions.TestEquals(nameof(SimpleListWhereParamToArrayTest) + i, () => SimpleListWhereParamToArrayTest(i), () => SimpleListWhereParamToArrayTestRewritten(i)); TestsExtensions.TestEquals(nameof(ListWhereParamToArrayTest) + i, () => ListWhereParamToArrayTest(i), () => ListWhereParamToArrayTestRewritten(i)); TestsExtensions.TestEquals(nameof(RangeWhereParamToArrayTest) + i, () => RangeWhereParamToArrayTest(i), () => RangeWhereParamToArrayTestRewritten(i)); TestsExtensions.TestEquals(nameof(RangeParamToArrayTest) + i, () => RangeParamToArrayTest(i), () => RangeParamToArrayTestRewritten(i)); TestsExtensions.TestEquals(nameof(RepeatParamToArrayTest) + i, () => RepeatParamToArrayTest(i), () => RepeatParamToArrayTestRewritten(i)); TestsExtensions.TestEquals(nameof(RepeatWhereParamToArrayTest) + i, () => RepeatWhereParamToArrayTest(i), () => RepeatWhereParamToArrayTestRewritten(i)); } }
public void RunTests() { TestsExtensions.TestEquals(nameof(AggregateSum), AggregateSum, AggregateSumRewritten); TestsExtensions.TestEquals(nameof(EnumerableAggregateSum), EnumerableAggregateSum, EnumerableAggregateSumRewritten); TestsExtensions.TestEquals(nameof(AggregateCount), AggregateCount, AggregateCountRewritten); TestsExtensions.TestEquals(nameof(AggregateEma), AggregateEma, AggregateEmaRewritten); TestsExtensions.TestEquals(nameof(AggregateDoubleSum), AggregateDoubleSum, AggregateDoubleSumRewritten); TestsExtensions.TestEquals(nameof(AggregateDoubleEma), AggregateDoubleEma, AggregateDoubleEmaRewritten); TestsExtensions.TestEquals(nameof(AggregateDoubleFactorial), AggregateDoubleFactorial, AggregateDoubleFactorialRewritten); TestsExtensions.TestEquals(nameof(AggregateDoubleAverage), AggregateDoubleAverage, AggregateDoubleAverageRewritten); TestsExtensions.TestEquals(nameof(AggregateDoubleAverageSelected), AggregateDoubleAverageSelected, AggregateDoubleAverageSelectedRewritten); TestsExtensions.TestEquals(nameof(AggregateDoubleAverageWhere), AggregateDoubleAverageWhere, AggregateDoubleAverageWhereRewritten); TestsExtensions.TestEquals(nameof(AggregateRangeSum), AggregateRangeSum, AggregateRangeSumRewritten); TestsExtensions.TestEquals(nameof(AggregateRangeFactorial0), AggregateRangeFactorial0, AggregateRangeFactorial0Rewritten); TestsExtensions.TestEquals(nameof(AggregateRangeFactorial20), AggregateRangeFactorial20, AggregateRangeFactorial20Rewritten); TestsExtensions.TestEquals(nameof(AggregateRangeFactorial100), AggregateRangeFactorial100, AggregateRangeFactorial100Rewritten); TestsExtensions.TestEquals(nameof(AggregateEmpty), AggregateEmpty, AggregateEmptyRewritten); TestsExtensions.TestEquals(nameof(AggregateEmptyDefault), AggregateEmptyDefault, AggregateEmptyDefaultRewritten); TestsExtensions.TestEquals(nameof(AggregateNull), AggregateNull, AggregateNullRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayLongCount), ArrayLongCount, ArrayLongCountRewritten); TestsExtensions.TestEquals(nameof(ArrayLongCount2), ArrayLongCount2, ArrayLongCount2Rewritten); TestsExtensions.TestEquals(nameof(ArraySelectLongCount), ArraySelectLongCount, ArraySelectLongCountRewritten); TestsExtensions.TestEquals(nameof(ArrayLongCount5), ArrayLongCount5, ArrayLongCount5Rewritten); TestsExtensions.TestEquals(nameof(EnumerableLongCount2), EnumerableLongCount2, EnumerableLongCount2Rewritten); TestsExtensions.TestEquals(nameof(EnumerableLongCount3), EnumerableLongCount3, EnumerableLongCount3Rewritten); TestsExtensions.TestEquals(nameof(EnumerableLongCount4), EnumerableLongCount4, EnumerableLongCount4Rewritten); TestsExtensions.TestEquals(nameof(EnumerableLongCount5), EnumerableLongCount5, EnumerableLongCount5Rewritten); TestsExtensions.TestEquals(nameof(RangeLongCount), RangeLongCount, RangeLongCountRewritten); TestsExtensions.TestEquals(nameof(RangeSelectLongCount), RangeSelectLongCount, RangeSelectLongCountRewritten); TestsExtensions.TestEquals(nameof(RangeWhereLongCount), RangeWhereLongCount, RangeWhereLongCountRewritten); TestsExtensions.TestEquals(nameof(RangeLongCount2), RangeLongCount2, RangeLongCount2Rewritten); TestsExtensions.TestEquals(nameof(RepeatLongCount), RepeatLongCount, RepeatLongCountRewritten); TestsExtensions.TestEquals(nameof(ArrayMethodLongCount), ArrayMethodLongCount, ArrayMethodLongCountRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctLongCount), ArrayDistinctLongCount, ArrayDistinctLongCountRewritten); TestsExtensions.TestEquals(nameof(EmptyLongCount), EmptyLongCount, EmptyLongCountRewritten); TestsExtensions.TestEquals(nameof(EmptyDistinctLongCount), EmptyDistinctLongCount, EmptyDistinctLongCountRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayWhereToSimpleList), ArrayWhereToSimpleList, ArrayWhereToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectWhereToSimpleList), SelectWhereToSimpleList, SelectWhereToSimpleListRewritten); TestsExtensions.TestEquals(nameof(MultipleSelectWhereToSimpleList), MultipleSelectWhereToSimpleList, MultipleSelectWhereToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectWhereToArray), SelectWhereToArray, SelectWhereToArrayRewritten); TestsExtensions.TestEquals(nameof(MultipleSelectWhereToArray), MultipleSelectWhereToArray, MultipleSelectWhereToArrayRewritten); for (int i = -2; i < 1002; i++) { TestsExtensions.TestEquals(nameof(ParametrizedWhere) + i, () => ParametrizedWhere(i), () => ParametrizedWhereRewritten(i)); TestsExtensions.TestEquals(nameof(ParametrizedWhereToArray) + i, () => ParametrizedWhereToArray(i), () => ParametrizedWhereToArrayRewritten(i)); TestsExtensions.TestEquals(nameof(ParametrizedWhereToSimpleList) + i, () => ParametrizedWhereToSimpleList(i), () => ParametrizedWhereToSimpleListRewritten(i)); } TestsExtensions.TestEquals(nameof(WhereChangingParam), WhereChangingParam, WhereChangingParamRewritten); TestsExtensions.TestEquals(nameof(WhereChangingParamToArray), WhereChangingParamToArray, WhereChangingParamToArrayRewritten); TestsExtensions.TestEquals(nameof(WhereChangingParamToSimpleList), WhereChangingParamToSimpleList, WhereChangingParamToSimpleListRewritten); TestsExtensions.TestEquals(nameof(WhereIndexToArray), WhereIndexToArray, WhereIndexToArrayRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayAverage), ArrayAverage, ArrayAverageRewritten); TestsExtensions.TestEquals(nameof(ArrayAverage1), ArrayAverage1, ArrayAverage1Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage2), ArrayAverage2, ArrayAverage2Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage3), ArrayAverage3, ArrayAverage3Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage4), ArrayAverage4, ArrayAverage4Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage5), ArrayAverage5, ArrayAverage5Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage6), ArrayAverage6, ArrayAverage6Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage7), ArrayAverage7, ArrayAverage7Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage8), ArrayAverage8, ArrayAverage8Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage9), ArrayAverage9, ArrayAverage9Rewritten); TestsExtensions.TestEquals(nameof(ArrayAverage10), ArrayAverage10, ArrayAverage10Rewritten); TestsExtensions.TestEquals(nameof(ArraySelectAverage), ArraySelectAverage, ArraySelectAverageRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereAverage), ArrayWhereAverage, ArrayWhereAverageRewritten); TestsExtensions.TestEquals(nameof(ArrayMethodAverage), ArrayMethodAverage, ArrayMethodAverageRewritten); TestsExtensions.TestEquals(nameof(EnumerableAverage), EnumerableAverage, EnumerableAverageRewritten); TestsExtensions.TestEquals(nameof(EnumerableEmptyAverage), EnumerableEmptyAverage, EnumerableEmptyAverageRewritten); TestsExtensions.TestEquals(nameof(ArrayMethodAverageChangingParam), ArrayMethodAverageChangingParam, ArrayMethodAverageChangingParamRewritten); TestsExtensions.TestEquals(nameof(EnumerableRangeAverage), EnumerableRangeAverage, EnumerableRangeAverageRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(NullSelect), NullSelect, NullSelectRewritten); TestsExtensions.TestEquals(nameof(NullableSelect), NullableSelect, NullableSelectRewritten); TestsExtensions.TestEquals(nameof(SelectArray), SelectArray, SelectArrayRewritten); TestsExtensions.TestEquals(nameof(SelectList), SelectList, SelectListRewritten); TestsExtensions.TestEquals(nameof(SelectSimpleList), SelectSimpleList, SelectSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectEnumerable), SelectEnumerable, SelectEnumerableRewritten); TestsExtensions.TestEquals(nameof(SelectArrayToArray), SelectArrayToArray, SelectArrayToArrayRewritten); TestsExtensions.TestEquals(nameof(SelectListToArray), SelectListToArray, SelectListToArrayRewritten); TestsExtensions.TestEquals(nameof(SelectEnumerableToArray), SelectEnumerableToArray, SelectEnumerableToArrayRewritten); TestsExtensions.TestEquals(nameof(SelectSimpleListToArray), SelectSimpleListToArray, SelectSimpleListToArrayRewritten); TestsExtensions.TestEquals(nameof(SelectArrayToSimpleList), SelectArrayToSimpleList, SelectArrayToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectListToSimpleList), SelectListToSimpleList, SelectListToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectEnumerableToSimpleList), SelectEnumerableToSimpleList, SelectEnumerableToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectSimpleListToSimpleList), SelectSimpleListToSimpleList, SelectSimpleListToSimpleListRewritten); TestsExtensions.TestEquals(nameof(SelectArrayToList), SelectArrayToList, SelectArrayToListRewritten); TestsExtensions.TestEquals(nameof(SelectListToList), SelectListToList, SelectListToListRewritten); TestsExtensions.TestEquals(nameof(SelectEnumerableToList), SelectEnumerableToList, SelectEnumerableToListRewritten); TestsExtensions.TestEquals(nameof(SelectSimpleListToList), SelectSimpleListToList, SelectSimpleListToListRewritten); TestsExtensions.TestEquals(nameof(SelectStaticArray), SelectStaticArray, SelectStaticArrayRewritten); TestsExtensions.TestEquals(nameof(SelectMethodSelector), SelectMethodSelector, SelectMethodSelectorRewritten); TestsExtensions.TestEquals(nameof(SelectRetype), SelectRetype, SelectRetypeRewritten); TestsExtensions.TestEquals(nameof(SelectArrayFromArray), SelectArrayFromArray, SelectArrayFromArrayRewritten); TestsExtensions.TestEquals(nameof(StaticSelect), StaticSelect, StaticSelectRewritten); TestsExtensions.TestEquals(nameof(StaticClassSelect), StaticClassSelect, StaticClassSelectRewritten); TestsExtensions.TestEquals(nameof(SelectParams), SelectParams, SelectParamsRewritten); TestsExtensions.TestEquals(nameof(SelectMultipleParams), SelectMultipleParams, SelectMultipleParamsRewritten); TestsExtensions.TestEquals(nameof(MultipleSelect), MultipleSelect, MultipleSelectRewritten); TestsExtensions.TestEquals(nameof(MultipleSelect2), MultipleSelect2, MultipleSelect2Rewritten); TestsExtensions.TestEquals(nameof(SelectChangingParam), SelectChangingParam, SelectChangingParamRewritten); TestsExtensions.TestEquals(nameof(SelectChangingParam2), SelectChangingParam2, SelectChangingParam2Rewritten); TestsExtensions.TestEquals(nameof(SelectChangingParam3), SelectChangingParam3, SelectChangingParam3Rewritten); TestsExtensions.TestEquals(nameof(SelectChangingParam4), SelectChangingParam4, SelectChangingParam4Rewritten); TestsExtensions.TestEquals(nameof(StaticSelect), StaticSelect, StaticSelectRewritten); TestsExtensions.TestEquals(nameof(ArraySelectIndex), ArraySelectIndex, ArraySelectIndexRewritten); TestsExtensions.TestEquals(nameof(ArraySelectIndexToArray), ArraySelectIndexToArray, ArraySelectIndexToArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectIndexMethodToArray), ArraySelectIndexMethodToArray, ArraySelectIndexMethodToArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectIndexMethod), ArraySelectIndexMethod, ArraySelectIndexMethodRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(Min1), Min1, Min1Rewritten); TestsExtensions.TestEquals(nameof(Min2), Min2, Min2Rewritten); TestsExtensions.TestEquals(nameof(Min3), Min3, Min3Rewritten); TestsExtensions.TestEquals(nameof(Min4), Min4, Min4Rewritten); TestsExtensions.TestEquals(nameof(Min5), Min5, Min5Rewritten); TestsExtensions.TestEquals(nameof(Min6), Min6, Min6Rewritten); TestsExtensions.TestEquals(nameof(Min7), Min7, Min7Rewritten); TestsExtensions.TestEquals(nameof(Min8), Min8, Min8Rewritten); TestsExtensions.TestEquals(nameof(Min9), Min9, Min9Rewritten); TestsExtensions.TestEquals(nameof(Min10), Min10, Min10Rewritten); TestsExtensions.TestEquals(nameof(Min11), Min11, Min11Rewritten); TestsExtensions.TestEquals(nameof(Min12), Min12, Min12Rewritten); TestsExtensions.TestEquals(nameof(MinParam), MinParam, MinParamRewritten); TestsExtensions.TestEquals(nameof(MinChangingParam), MinChangingParam, MinChangingParamRewritten); TestsExtensions.TestEquals(nameof(MinChangingParam2), MinChangingParam2, MinChangingParam2Rewritten); TestsExtensions.TestEquals(nameof(SelectMin), SelectMin, SelectMinRewritten); TestsExtensions.TestEquals(nameof(EmptyMin), EmptyMin, EmptyMinRewritten); TestsExtensions.TestEquals(nameof(EmptyMin2), EmptyMin2, EmptyMin2Rewritten); TestsExtensions.TestEquals(nameof(EnumerableMin), EnumerableMin, EnumerableMinRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(Max1), Max1, Max1Rewritten); TestsExtensions.TestEquals(nameof(Max2), Max2, Max2Rewritten); TestsExtensions.TestEquals(nameof(Max3), Max3, Max3Rewritten); TestsExtensions.TestEquals(nameof(Max4), Max4, Max4Rewritten); TestsExtensions.TestEquals(nameof(Max5), Max5, Max5Rewritten); TestsExtensions.TestEquals(nameof(Max6), Max6, Max6Rewritten); TestsExtensions.TestEquals(nameof(Max7), Max7, Max7Rewritten); TestsExtensions.TestEquals(nameof(Max8), Max8, Max8Rewritten); TestsExtensions.TestEquals(nameof(Max9), Max9, Max9Rewritten); TestsExtensions.TestEquals(nameof(Max10), Max10, Max10Rewritten); TestsExtensions.TestEquals(nameof(Max11), Max11, Max11Rewritten); TestsExtensions.TestEquals(nameof(Max12), Max12, Max12Rewritten); TestsExtensions.TestEquals(nameof(MaxParam), MaxParam, MaxParamRewritten); TestsExtensions.TestEquals(nameof(MaxChangingParam), MaxChangingParam, MaxChangingParamRewritten); TestsExtensions.TestEquals(nameof(MaxChangingParam2), MaxChangingParam2, MaxChangingParam2Rewritten); TestsExtensions.TestEquals(nameof(SelectMax), SelectMax, SelectMaxRewritten); TestsExtensions.TestEquals(nameof(EmptyMax), EmptyMax, EmptyMaxRewritten); TestsExtensions.TestEquals(nameof(EmptyMax2), EmptyMax2, EmptyMax2Rewritten); TestsExtensions.TestEquals(nameof(EnumerableMax), EnumerableMax, EnumerableMaxRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayReverse), ArrayReverse, ArrayReverseRewritten); TestsExtensions.TestEquals(nameof(ArrayReverseToArray), ArrayReverseToArray, ArrayReverseToArrayRewritten); TestsExtensions.TestEquals(nameof(SimpleListReverse), SimpleListReverse, SimpleListReverseRewritten); TestsExtensions.TestEquals(nameof(EnumerableReverse), EnumerableReverse, EnumerableReverseRewritten); TestsExtensions.TestEquals(nameof(EnumerableReverseToArray), EnumerableReverseToArray, EnumerableReverseToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableMethodReverse), EnumerableMethodReverse, EnumerableMethodReverseRewritten); TestsExtensions.TestEquals(nameof(EnumerableMethodReverseToArray), EnumerableMethodReverseToArray, EnumerableMethodReverseToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeReverse), RangeReverse, RangeReverseRewritten); TestsExtensions.TestEquals(nameof(RangeReverseToArray), RangeReverseToArray, RangeReverseToArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectReverse), ArraySelectReverse, ArraySelectReverseRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereReverse), ArrayWhereReverse, ArrayWhereReverseRewritten); TestsExtensions.TestEquals(nameof(ArrayReverseWhereReverse), ArrayReverseWhereReverse, ArrayReverseWhereReverseRewritten); TestsExtensions.TestEquals(nameof(ArrayReverseConcatReverse), ArrayReverseConcatReverse, ArrayReverseConcatReverseRewritten); TestsExtensions.TestEquals(nameof(ArrayReverseConcatReversed), ArrayReverseConcatReversed, ArrayReverseConcatReversedRewritten); TestsExtensions.TestEquals(nameof(ArrayReverseConcatReversedConcatArray), ArrayReverseConcatReversedConcatArray, ArrayReverseConcatReversedConcatArrayRewritten); TestsExtensions.TestEquals("ArrayConcatArrayReversed", ArrayConcatArray, ArrayConcatArrayRewritten); TestsExtensions.TestEquals("ArrayConcatSimpleListReversed", ArrayConcatSimpleList, ArrayConcatSimpleListRewritten); TestsExtensions.TestEquals("ArrayConcatEnumerableReversed", ArrayConcatEnumerable, ArrayConcatEnumerableRewritten); TestsExtensions.TestEquals("ArrayConcatMethodReversed", ArrayConcatMethod, ArrayConcatMethodRewritten); TestsExtensions.TestEquals("SimpleListConcatArrayReversed", SimpleListConcatArray, SimpleListConcatArrayRewritten); TestsExtensions.TestEquals("SimpleListConcatSimpleListReversed", SimpleListConcatSimpleList, SimpleListConcatSimpleListRewritten); TestsExtensions.TestEquals("SimpleListConcatEnumerableReversed", SimpleListConcatEnumerable, SimpleListConcatEnumerableRewritten); TestsExtensions.TestEquals("SimpleListConcatMethodReversed", SimpleListConcatMethod, SimpleListConcatMethodRewritten); TestsExtensions.TestEquals("EnumerableConcatArrayReversed", EnumerableConcatArray, EnumerableConcatArrayRewritten); TestsExtensions.TestEquals("EnumerableConcatSimpleListReversed", EnumerableConcatSimpleList, EnumerableConcatSimpleListRewritten); TestsExtensions.TestEquals("EnumerableConcatEnumerableReversed", EnumerableConcatEnumerable, EnumerableConcatEnumerableRewritten); TestsExtensions.TestEquals("EnumerableConcatMethodReversed", EnumerableConcatMethod, EnumerableConcatMethodRewritten); TestsExtensions.TestEquals("MethodConcatArrayReversed", MethodConcatArray, MethodConcatArrayRewritten); TestsExtensions.TestEquals("MethodConcatSimpleListReversed", MethodConcatSimpleList, MethodConcatSimpleListRewritten); TestsExtensions.TestEquals("MethodConcatEnumerableReversed", MethodConcatEnumerable, MethodConcatEnumerableRewritten); TestsExtensions.TestEquals("MethodConcatMethodReversed", MethodConcatMethod, MethodConcatMethodRewritten); TestsExtensions.TestEquals("ArrayConcatArrayToArrayReversed", ArrayConcatArrayToArray, ArrayConcatArrayToArrayRewritten); TestsExtensions.TestEquals("ArrayConcatSimpleListToArrayReversed", ArrayConcatSimpleListToArray, ArrayConcatSimpleListToArrayRewritten); TestsExtensions.TestEquals("ArrayConcatEnumerableToArrayReversed", ArrayConcatEnumerableToArray, ArrayConcatEnumerableToArrayRewritten); TestsExtensions.TestEquals("SimpleListConcatArrayToArrayReversed", SimpleListConcatArrayToArray, SimpleListConcatArrayToArrayRewritten); TestsExtensions.TestEquals("SimpleListConcatSimpleListToArrayReversed", SimpleListConcatSimpleListToArray, SimpleListConcatSimpleListToArrayRewritten); TestsExtensions.TestEquals("SimpleListConcatEnumerableToArrayReversed", SimpleListConcatEnumerableToArray, SimpleListConcatEnumerableToArrayRewritten); TestsExtensions.TestEquals("EnumerableConcatArrayToArrayReversed", EnumerableConcatArrayToArray, EnumerableConcatArrayToArrayRewritten); TestsExtensions.TestEquals("EnumerableConcatSimpleListToArrayReversed", EnumerableConcatSimpleListToArray, EnumerableConcatSimpleListToArrayRewritten); TestsExtensions.TestEquals("EnumerableConcatEnumerableToArrayReversed", EnumerableConcatEnumerableToArray, EnumerableConcatEnumerableToArrayRewritten); TestsExtensions.TestEquals("ArraySelectConcatArrayReversed", ArraySelectConcatArray, ArraySelectConcatArrayRewritten); TestsExtensions.TestEquals("ArraySelectConcatArraySelectReversed", ArraySelectConcatArraySelect, ArraySelectConcatArraySelectRewritten); TestsExtensions.TestEquals("ArrayWhereConcatArrayWhereReversed", ArrayWhereConcatArrayWhere, ArrayWhereConcatArrayWhereRewritten); TestsExtensions.TestEquals("ArrayConcatArrayCountReversed", ArrayConcatArrayCount, ArrayConcatArrayCountRewritten); TestsExtensions.TestEquals("ArrayConcatArrayCount2Reversed", ArrayConcatArrayCount2, ArrayConcatArrayCount2Rewritten); TestsExtensions.TestEquals("ArrayConcatArraySumReversed", ArrayConcatArraySum, ArrayConcatArraySumRewritten); TestsExtensions.TestEquals("ArrayConcatArraySum2Reversed", ArrayConcatArraySum2, ArrayConcatArraySum2Rewritten); TestsExtensions.TestEquals("ArrayConcatArrayDistinctReversed", ArrayConcatArrayDistinct, ArrayConcatArrayDistinctRewritten); TestsExtensions.TestEquals("ArrayConcatArrayDistinct2Reversed", ArrayConcatArrayDistinct2, ArrayConcatArrayDistinct2Rewritten); TestsExtensions.TestEquals("ArrayConcatArrayElementAtReversed", ArrayConcatArrayElementAt, ArrayConcatArrayElementAtRewritten); TestsExtensions.TestEquals("ArrayConcatArrayElementAtOrDefaultReversed", ArrayConcatArrayElementAtOrDefault, ArrayConcatArrayElementAtOrDefaultRewritten); TestsExtensions.TestEquals("ArrayConcatArrayFirstReversed", ArrayConcatArrayFirst, ArrayConcatArrayFirstRewritten); TestsExtensions.TestEquals("ArrayConcatArrayFirstOrDefaultReversed", ArrayConcatArrayFirstOrDefault, ArrayConcatArrayFirstOrDefaultRewritten); TestsExtensions.TestEquals("ArrayConcatArrayLastReversed", ArrayConcatArrayLast, ArrayConcatArrayLastRewritten); TestsExtensions.TestEquals("ArrayConcatArrayLastOrDefaultReversed", ArrayConcatArrayLastOrDefault, ArrayConcatArrayLastOrDefaultRewritten); TestsExtensions.TestEquals("ArrayConcatArraySingleReversed", ArrayConcatArraySingle, ArrayConcatArraySingleRewritten); TestsExtensions.TestEquals("ArrayConcatArraySingle2Reversed", ArrayConcatArraySingle2, ArrayConcatArraySingle2Rewritten); TestsExtensions.TestEquals("ArrayConcatArraySingleOrDefaultReversed", ArrayConcatArraySingleOrDefault, ArrayConcatArraySingleOrDefaultRewritten); TestsExtensions.TestEquals("ArrayConcatArrayMinReversed", ArrayConcatArrayMin, ArrayConcatArrayMinRewritten); TestsExtensions.TestEquals("ArrayConcatArrayMin2Reversed", ArrayConcatArrayMin2, ArrayConcatArrayMin2Rewritten); TestsExtensions.TestEquals("ArrayConcatArrayMaxReversed", ArrayConcatArrayMax, ArrayConcatArrayMaxRewritten); TestsExtensions.TestEquals("ArrayConcatArrayMax2Reversed", ArrayConcatArrayMax2, ArrayConcatArrayMax2Rewritten); TestsExtensions.TestEquals("ArrayConcatArrayLongCountReversed", ArrayConcatArrayLongCount, ArrayConcatArrayLongCountRewritten); TestsExtensions.TestEquals("ArrayConcatArrayLongCount2Reversed", ArrayConcatArrayLongCount2, ArrayConcatArrayLongCount2Rewritten); TestsExtensions.TestEquals("ArrayConcatArrayContainsReversed", ArrayConcatArrayContains, ArrayConcatArrayContainsRewritten); TestsExtensions.TestEquals("ArrayConcatArrayAverageReversed", ArrayConcatArrayAverage, ArrayConcatArrayAverageRewritten); TestsExtensions.TestEquals("ArrayConcatArrayAverage2Reversed", ArrayConcatArrayAverage2, ArrayConcatArrayAverage2Rewritten); TestsExtensions.TestEquals("ArrayConcatArrayContains2Reversed", ArrayConcatArrayContains2, ArrayConcatArrayContains2Rewritten); TestsExtensions.TestEquals("SelectWhereArrayConcatSelectWhereArrayContainsReversed", SelectWhereArrayConcatSelectWhereArrayContains, SelectWhereArrayConcatSelectWhereArrayContainsRewritten); TestsExtensions.TestEquals("RangeConcatArrayReversed", RangeConcatArray, RangeConcatArrayRewritten); TestsExtensions.TestEquals("RepeatConcatArrayReversed", RepeatConcatArray, RepeatConcatArrayRewritten); TestsExtensions.TestEquals("EmptyConcatArrayReversed", EmptyConcatArray, EmptyConcatArrayRewritten); TestsExtensions.TestEquals("RangeEmpty2ArrayReversed", RangeEmpty2Array, RangeEmpty2ArrayRewritten); TestsExtensions.TestEquals("ArrayConcatRangeReversed", ArrayConcatRange, ArrayConcatRangeRewritten); TestsExtensions.TestEquals("ArrayConcatRepeatReversed", ArrayConcatRepeat, ArrayConcatRepeatRewritten); TestsExtensions.TestEquals("ArrayConcatEmptyReversed", ArrayConcatEmpty, ArrayConcatEmptyRewritten); TestsExtensions.TestEquals("ArrayConcatEmpty2Reversed", ArrayConcatEmpty2, ArrayConcatEmpty2Rewritten); TestsExtensions.TestEquals("ArrayConcatAllReversed", ArrayConcatAll, ArrayConcatAllRewritten); TestsExtensions.TestEquals("ArrayConcatNullReversed", ArrayConcatNull, ArrayConcatNullRewritten); TestsExtensions.TestEquals("ArrayConcatArrayConcatEnumerableReversed", ArrayConcatArrayConcatEnumerable, ArrayConcatArrayConcatEnumerableRewritten); TestsExtensions.TestEquals("ArrayConcatArrayConcatEnumerable2Reversed", ArrayConcatArrayConcatEnumerable2, ArrayConcatArrayConcatEnumerable2Rewritten); TestsExtensions.TestEquals("ArrayDistinctConcatArrayDistinctReversed", ArrayDistinctConcatArrayDistinct, ArrayDistinctConcatArrayDistinctRewritten); TestsExtensions.TestEquals("ArrayDistinctConcatArrayDistinctDistinctReversed", ArrayDistinctConcatArrayDistinctDistinct, ArrayDistinctConcatArrayDistinctDistinctRewritten); TestsExtensions.TestEquals("ArrayDistinctConcatArrayDistinctDistinct2Reversed", ArrayDistinctConcatArrayDistinctDistinct2, ArrayDistinctConcatArrayDistinctDistinct2Rewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayTakeWhile), ArrayTakeWhile, ArrayTakeWhileRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileReverse), ArrayTakeWhileReverse, ArrayTakeWhileReverseRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileTrue), ArrayTakeWhileTrue, ArrayTakeWhileTrueRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileFalse), ArrayTakeWhileFalse, ArrayTakeWhileFalseRewritten); TestsExtensions.TestEquals(nameof(ArraySelectTakeWhile), ArraySelectTakeWhile, ArraySelectTakeWhileRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereTakeWhile), ArrayWhereTakeWhile, ArrayWhereTakeWhileRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileParam), ArrayTakeWhileParam, ArrayTakeWhileParamRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileChangingParam), ArrayTakeWhileChangingParam, ArrayTakeWhileChangingParamRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileChangingParam2), ArrayTakeWhileChangingParam2, ArrayTakeWhileChangingParam2Rewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileChangingParams), ArrayTakeWhileChangingParams, ArrayTakeWhileChangingParamsRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileToArray), ArrayTakeWhileToArray, ArrayTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileReverseToArray), ArrayTakeWhileReverseToArray, ArrayTakeWhileReverseToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileTrueToArray), ArrayTakeWhileTrueToArray, ArrayTakeWhileTrueToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileFalseToArray), ArrayTakeWhileFalseToArray, ArrayTakeWhileFalseToArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectTakeWhileToArray), ArraySelectTakeWhileToArray, ArraySelectTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereTakeWhileToArray), ArrayWhereTakeWhileToArray, ArrayWhereTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileParamToArray), ArrayTakeWhileParamToArray, ArrayTakeWhileParamToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileChangingParamToArray), ArrayTakeWhileChangingParamToArray, ArrayTakeWhileChangingParamToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileChangingParamToArray2), ArrayTakeWhileChangingParamToArray2, ArrayTakeWhileChangingParamToArray2Rewritten); TestsExtensions.TestEquals(nameof(ArrayTakeWhileChangingParamsToArray), ArrayTakeWhileChangingParamsToArray, ArrayTakeWhileChangingParamsToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhile), EnumerableTakeWhile, EnumerableTakeWhileRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileReverse), EnumerableTakeWhileReverse, EnumerableTakeWhileReverseRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileTrue), EnumerableTakeWhileTrue, EnumerableTakeWhileTrueRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileFalse), EnumerableTakeWhileFalse, EnumerableTakeWhileFalseRewritten); TestsExtensions.TestEquals(nameof(EnumerableSelectTakeWhile), EnumerableSelectTakeWhile, EnumerableSelectTakeWhileRewritten); TestsExtensions.TestEquals(nameof(EnumerableWhereTakeWhile), EnumerableWhereTakeWhile, EnumerableWhereTakeWhileRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileParam), EnumerableTakeWhileParam, EnumerableTakeWhileParamRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileChangingParam), EnumerableTakeWhileChangingParam, EnumerableTakeWhileChangingParamRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileChangingParam2), EnumerableTakeWhileChangingParam2, EnumerableTakeWhileChangingParam2Rewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileChangingParams), EnumerableTakeWhileChangingParams, EnumerableTakeWhileChangingParamsRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileToArray), EnumerableTakeWhileToArray, EnumerableTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileReverseToArray), EnumerableTakeWhileReverseToArray, EnumerableTakeWhileReverseToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileTrueToArray), EnumerableTakeWhileTrueToArray, EnumerableTakeWhileTrueToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileFalseToArray), EnumerableTakeWhileFalseToArray, EnumerableTakeWhileFalseToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableSelectTakeWhileToArray), EnumerableSelectTakeWhileToArray, EnumerableSelectTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableWhereTakeWhileToArray), EnumerableWhereTakeWhileToArray, EnumerableWhereTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileParamToArray), EnumerableTakeWhileParamToArray, EnumerableTakeWhileParamToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileChangingParamToArray), EnumerableTakeWhileChangingParamToArray, EnumerableTakeWhileChangingParamToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileChangingParamToArray2), EnumerableTakeWhileChangingParamToArray2, EnumerableTakeWhileChangingParamToArray2Rewritten); TestsExtensions.TestEquals(nameof(EnumerableTakeWhileChangingParamsToArray), EnumerableTakeWhileChangingParamsToArray, EnumerableTakeWhileChangingParamsToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhile), RangeTakeWhile, RangeTakeWhileRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileReverse), RangeTakeWhileReverse, RangeTakeWhileReverseRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileTrue), RangeTakeWhileTrue, RangeTakeWhileTrueRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileFalse), RangeTakeWhileFalse, RangeTakeWhileFalseRewritten); TestsExtensions.TestEquals(nameof(RangeSelectTakeWhile), RangeSelectTakeWhile, RangeSelectTakeWhileRewritten); TestsExtensions.TestEquals(nameof(RangeWhereTakeWhile), RangeWhereTakeWhile, RangeWhereTakeWhileRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileParam), RangeTakeWhileParam, RangeTakeWhileParamRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileChangingParam), RangeTakeWhileChangingParam, RangeTakeWhileChangingParamRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileChangingParam2), RangeTakeWhileChangingParam2, RangeTakeWhileChangingParam2Rewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileChangingParams), RangeTakeWhileChangingParams, RangeTakeWhileChangingParamsRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileToArray), RangeTakeWhileToArray, RangeTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileReverseToArray), RangeTakeWhileReverseToArray, RangeTakeWhileReverseToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileTrueToArray), RangeTakeWhileTrueToArray, RangeTakeWhileTrueToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileFalseToArray), RangeTakeWhileFalseToArray, RangeTakeWhileFalseToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeSelectTakeWhileToArray), RangeSelectTakeWhileToArray, RangeSelectTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeWhereTakeWhileToArray), RangeWhereTakeWhileToArray, RangeWhereTakeWhileToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileParamToArray), RangeTakeWhileParamToArray, RangeTakeWhileParamToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileChangingParamToArray), RangeTakeWhileChangingParamToArray, RangeTakeWhileChangingParamToArrayRewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileChangingParamToArray2), RangeTakeWhileChangingParamToArray2, RangeTakeWhileChangingParamToArray2Rewritten); TestsExtensions.TestEquals(nameof(RangeTakeWhileChangingParamsToArray), RangeTakeWhileChangingParamsToArray, RangeTakeWhileChangingParamsToArrayRewritten); }
public void RunTests() { TestsExtensions.TestEquals(nameof(ArrayIntersectArray), ArrayIntersectArray, ArrayIntersectArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectSimpleList), ArrayIntersectSimpleList, ArrayIntersectSimpleListRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectEnumerable), ArrayIntersectEnumerable, ArrayIntersectEnumerableRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectMethod), ArrayIntersectMethod, ArrayIntersectMethodRewritten); TestsExtensions.TestEquals(nameof(SimpleListIntersectArray), SimpleListIntersectArray, SimpleListIntersectArrayRewritten); TestsExtensions.TestEquals(nameof(SimpleListIntersectSimpleList), SimpleListIntersectSimpleList, SimpleListIntersectSimpleListRewritten); TestsExtensions.TestEquals(nameof(SimpleListIntersectEnumerable), SimpleListIntersectEnumerable, SimpleListIntersectEnumerableRewritten); TestsExtensions.TestEquals(nameof(SimpleListIntersectMethod), SimpleListIntersectMethod, SimpleListIntersectMethodRewritten); TestsExtensions.TestEquals(nameof(EnumerableIntersectArray), EnumerableIntersectArray, EnumerableIntersectArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableIntersectSimpleList), EnumerableIntersectSimpleList, EnumerableIntersectSimpleListRewritten); TestsExtensions.TestEquals(nameof(EnumerableIntersectEnumerable), EnumerableIntersectEnumerable, EnumerableIntersectEnumerableRewritten); TestsExtensions.TestEquals(nameof(EnumerableIntersectMethod), EnumerableIntersectMethod, EnumerableIntersectMethodRewritten); TestsExtensions.TestEquals(nameof(MethodIntersectArray), MethodIntersectArray, MethodIntersectArrayRewritten); TestsExtensions.TestEquals(nameof(MethodIntersectSimpleList), MethodIntersectSimpleList, MethodIntersectSimpleListRewritten); TestsExtensions.TestEquals(nameof(MethodIntersectEnumerable), MethodIntersectEnumerable, MethodIntersectEnumerableRewritten); TestsExtensions.TestEquals(nameof(MethodIntersectMethod), MethodIntersectMethod, MethodIntersectMethodRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayToArray), ArrayIntersectArrayToArray, ArrayIntersectArrayToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectSimpleListToArray), ArrayIntersectSimpleListToArray, ArrayIntersectSimpleListToArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectEnumerableToArray), ArrayIntersectEnumerableToArray, ArrayIntersectEnumerableToArrayRewritten); TestsExtensions.TestEquals(nameof(SimpleListIntersectArrayToArray), SimpleListIntersectArrayToArray, SimpleListIntersectArrayToArrayRewritten); TestsExtensions.TestEquals(nameof(SimpleListIntersectSimpleListToArray), SimpleListIntersectSimpleListToArray, SimpleListIntersectSimpleListToArrayRewritten); TestsExtensions.TestEquals(nameof(SimpleListIntersectEnumerableToArray), SimpleListIntersectEnumerableToArray, SimpleListIntersectEnumerableToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableIntersectArrayToArray), EnumerableIntersectArrayToArray, EnumerableIntersectArrayToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableIntersectSimpleListToArray), EnumerableIntersectSimpleListToArray, EnumerableIntersectSimpleListToArrayRewritten); TestsExtensions.TestEquals(nameof(EnumerableIntersectEnumerableToArray), EnumerableIntersectEnumerableToArray, EnumerableIntersectEnumerableToArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectIntersectArray), ArraySelectIntersectArray, ArraySelectIntersectArrayRewritten); TestsExtensions.TestEquals(nameof(ArraySelectIntersectArraySelect), ArraySelectIntersectArraySelect, ArraySelectIntersectArraySelectRewritten); TestsExtensions.TestEquals(nameof(ArrayWhereIntersectArrayWhere), ArrayWhereIntersectArrayWhere, ArrayWhereIntersectArrayWhereRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayCount), ArrayIntersectArrayCount, ArrayIntersectArrayCountRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayCount2), ArrayIntersectArrayCount2, ArrayIntersectArrayCount2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArraySum), ArrayIntersectArraySum, ArrayIntersectArraySumRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArraySum2), ArrayIntersectArraySum2, ArrayIntersectArraySum2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayDistinct), ArrayIntersectArrayDistinct, ArrayIntersectArrayDistinctRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayDistinct2), ArrayIntersectArrayDistinct2, ArrayIntersectArrayDistinct2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayElementAt), ArrayIntersectArrayElementAt, ArrayIntersectArrayElementAtRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayElementAtOrDefault), ArrayIntersectArrayElementAtOrDefault, ArrayIntersectArrayElementAtOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayFirst), ArrayIntersectArrayFirst, ArrayIntersectArrayFirstRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayFirstOrDefault), ArrayIntersectArrayFirstOrDefault, ArrayIntersectArrayFirstOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayLast), ArrayIntersectArrayLast, ArrayIntersectArrayLastRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayLastOrDefault), ArrayIntersectArrayLastOrDefault, ArrayIntersectArrayLastOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArraySingle), ArrayIntersectArraySingle, ArrayIntersectArraySingleRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArraySingle2), ArrayIntersectArraySingle2, ArrayIntersectArraySingle2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArraySingleOrDefault), ArrayIntersectArraySingleOrDefault, ArrayIntersectArraySingleOrDefaultRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayMin), ArrayIntersectArrayMin, ArrayIntersectArrayMinRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayMin2), ArrayIntersectArrayMin2, ArrayIntersectArrayMin2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayMax), ArrayIntersectArrayMax, ArrayIntersectArrayMaxRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayMax2), ArrayIntersectArrayMax2, ArrayIntersectArrayMax2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayLongCount), ArrayIntersectArrayLongCount, ArrayIntersectArrayLongCountRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayLongCount2), ArrayIntersectArrayLongCount2, ArrayIntersectArrayLongCount2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayContains), ArrayIntersectArrayContains, ArrayIntersectArrayContainsRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayAverage), ArrayIntersectArrayAverage, ArrayIntersectArrayAverageRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayAverage2), ArrayIntersectArrayAverage2, ArrayIntersectArrayAverage2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayContains2), ArrayIntersectArrayContains2, ArrayIntersectArrayContains2Rewritten); TestsExtensions.TestEquals(nameof(SelectWhereArrayIntersectSelectWhereArrayContains), SelectWhereArrayIntersectSelectWhereArrayContains, SelectWhereArrayIntersectSelectWhereArrayContainsRewritten); TestsExtensions.TestEquals(nameof(RangeIntersectArray), RangeIntersectArray, RangeIntersectArrayRewritten); TestsExtensions.TestEquals(nameof(RepeatIntersectArray), RepeatIntersectArray, RepeatIntersectArrayRewritten); TestsExtensions.TestEquals(nameof(EmptyIntersectArray), EmptyIntersectArray, EmptyIntersectArrayRewritten); TestsExtensions.TestEquals(nameof(RangeEmpty2Array), RangeEmpty2Array, RangeEmpty2ArrayRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectRange), ArrayIntersectRange, ArrayIntersectRangeRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectRepeat), ArrayIntersectRepeat, ArrayIntersectRepeatRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectEmpty), ArrayIntersectEmpty, ArrayIntersectEmptyRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectEmpty2), ArrayIntersectEmpty2, ArrayIntersectEmpty2Rewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectAll), ArrayIntersectAll, ArrayIntersectAllRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectNull), ArrayIntersectNull, ArrayIntersectNullRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayIntersectEnumerable), ArrayIntersectArrayIntersectEnumerable, ArrayIntersectArrayIntersectEnumerableRewritten); TestsExtensions.TestEquals(nameof(ArrayIntersectArrayIntersectEnumerable2), ArrayIntersectArrayIntersectEnumerable2, ArrayIntersectArrayIntersectEnumerable2Rewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctIntersectArrayDistinct), ArrayDistinctIntersectArrayDistinct, ArrayDistinctIntersectArrayDistinctRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctIntersectArrayDistinctDistinct), ArrayDistinctIntersectArrayDistinctDistinct, ArrayDistinctIntersectArrayDistinctDistinctRewritten); TestsExtensions.TestEquals(nameof(ArrayDistinctIntersectArrayDistinctDistinct2), ArrayDistinctIntersectArrayDistinctDistinct2, ArrayDistinctIntersectArrayDistinctDistinct2Rewritten); }