Skip to content

Commit

Permalink
#9 fix Min and Max stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
cathei committed Jul 25, 2023
1 parent 141085d commit 92b9854
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,67 +73,67 @@ public static int Count<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IStr
throw new NotImplementedException();
}

public static int Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
public static T Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
{
throw new NotImplementedException();
}

public static int Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
public static T Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
{
throw new NotImplementedException();
}

public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
public static T MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
{
throw new NotImplementedException();
}

public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
Func<T, TKey> keySelector, IComparer<TKey> comparer)
{
throw new NotImplementedException();
}

public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
IStructFunction<T, TKey> keySelector)
{
throw new NotImplementedException();
}

public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
IStructFunction<T, TKey> keySelector, IComparer<TKey> comparer)
{
throw new NotImplementedException();
}

public static int Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
public static T Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
{
throw new NotImplementedException();
}

public static int Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
public static T Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
{
throw new NotImplementedException();
}

public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
public static T MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
{
throw new NotImplementedException();
}

public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
Func<T, TKey> keySelector, IComparer<TKey> comparer)
{
throw new NotImplementedException();
}

public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
IStructFunction<T, TKey> keySelector)
{
throw new NotImplementedException();
}

public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
IStructFunction<T, TKey> keySelector, IComparer<TKey> comparer)
{
throw new NotImplementedException();
Expand Down
24 changes: 12 additions & 12 deletions LinqGen/Core/Stubs/StubExtensions.Evaluations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,67 +73,67 @@ public static int Count<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IStr
throw new NotImplementedException();
}

public static int Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
public static T Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
{
throw new NotImplementedException();
}

public static int Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
public static T Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
{
throw new NotImplementedException();
}

public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
public static T MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
{
throw new NotImplementedException();
}

public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
Func<T, TKey> keySelector, IComparer<TKey> comparer)
{
throw new NotImplementedException();
}

public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
IStructFunction<T, TKey> keySelector)
{
throw new NotImplementedException();
}

public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
IStructFunction<T, TKey> keySelector, IComparer<TKey> comparer)
{
throw new NotImplementedException();
}

public static int Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
public static T Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
{
throw new NotImplementedException();
}

public static int Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
public static T Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
{
throw new NotImplementedException();
}

public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
public static T MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
{
throw new NotImplementedException();
}

public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
Func<T, TKey> keySelector, IComparer<TKey> comparer)
{
throw new NotImplementedException();
}

public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
IStructFunction<T, TKey> keySelector)
{
throw new NotImplementedException();
}

public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
public static T MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
IStructFunction<T, TKey> keySelector, IComparer<TKey> comparer)
{
throw new NotImplementedException();
Expand Down

0 comments on commit 92b9854

Please sign in to comment.