Skip to content

Commit

Permalink
Rename not implemented message to better version (#2262)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored May 4, 2024
1 parent a7f7c1a commit 52952e6
Show file tree
Hide file tree
Showing 118 changed files with 237 additions and 237 deletions.
2 changes: 1 addition & 1 deletion exercises/practice/accumulate/Accumulate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ public static class AccumulateExtensions
{
public static IEnumerable<U> Accumulate<T, U>(this IEnumerable<T> collection, Func<T, U> func)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
4 changes: 2 additions & 2 deletions exercises/practice/affine-cipher/AffineCipher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ public static class AffineCipher
{
public static string Encode(string plainText, int a, int b)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public static string Decode(string cipheredText, int a, int b)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
4 changes: 2 additions & 2 deletions exercises/practice/allergies/Allergies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public Allergies(int mask)

public bool IsAllergicTo(Allergen allergen)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public Allergen[] List()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
2 changes: 1 addition & 1 deletion exercises/practice/alphametics/Alphametics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ public static class Alphametics
{
public static IDictionary<char, int> Solve(string equation)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
4 changes: 2 additions & 2 deletions exercises/practice/anagram/Anagram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ public class Anagram
{
public Anagram(string baseWord)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public string[] FindAnagrams(string[] potentialMatches)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
2 changes: 1 addition & 1 deletion exercises/practice/armstrong-numbers/ArmstrongNumbers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public static class ArmstrongNumbers
{
public static bool IsArmstrongNumber(int number)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
4 changes: 2 additions & 2 deletions exercises/practice/atbash-cipher/AtbashCipher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ public static class AtbashCipher
{
public static string Encode(string plainValue)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public static string Decode(string encodedValue)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
6 changes: 3 additions & 3 deletions exercises/practice/bank-account/BankAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ public class BankAccount
{
public void Open()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public void Close()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public decimal Balance
Expand All @@ -22,6 +22,6 @@ public decimal Balance

public void UpdateBalance(decimal change)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
2 changes: 1 addition & 1 deletion exercises/practice/beer-song/BeerSong.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public static class BeerSong
{
public static string Recite(int startBottles, int takeDown)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
12 changes: 6 additions & 6 deletions exercises/practice/binary-search-tree/BinarySearchTree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,38 @@ public int Value
{
get
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}

public BinarySearchTree Left
{
get
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}

public BinarySearchTree Right
{
get
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}

public BinarySearchTree Add(int value)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public IEnumerator<int> GetEnumerator()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

IEnumerator IEnumerable.GetEnumerator()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
2 changes: 1 addition & 1 deletion exercises/practice/binary-search/BinarySearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public static class BinarySearch
{
public static int Find(int[] input, int value)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
2 changes: 1 addition & 1 deletion exercises/practice/binary/Binary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public class Binary
{
public static int ToDecimal(string binary)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
2 changes: 1 addition & 1 deletion exercises/practice/bob/Bob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public static class Bob
{
public static string Response(string statement)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
2 changes: 1 addition & 1 deletion exercises/practice/book-store/BookStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ public static class BookStore
{
public static decimal Total(IEnumerable<int> books)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
4 changes: 2 additions & 2 deletions exercises/practice/bowling/Bowling.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ public class BowlingGame
{
public void Roll(int pins)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public int? Score()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
2 changes: 1 addition & 1 deletion exercises/practice/change/Change.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public static class Change
{
public static int[] FindFewestCoins(int[] coins, int target)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
10 changes: 5 additions & 5 deletions exercises/practice/circular-buffer/CircularBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ public class CircularBuffer<T>
{
public CircularBuffer(int capacity)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public T Read()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public void Write(T value)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public void Overwrite(T value)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public void Clear()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
6 changes: 3 additions & 3 deletions exercises/practice/clock/Clock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ public class Clock
{
public Clock(int hours, int minutes)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public Clock Add(int minutesToAdd)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public Clock Subtract(int minutesToSubtract)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
18 changes: 9 additions & 9 deletions exercises/practice/complex-numbers/ComplexNumbers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,46 @@ public ComplexNumber(double real, double imaginary)

public double Real()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public double Imaginary()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public ComplexNumber Mul(ComplexNumber other)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public ComplexNumber Add(ComplexNumber other)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public ComplexNumber Sub(ComplexNumber other)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public ComplexNumber Div(ComplexNumber other)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public double Abs()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public ComplexNumber Conjugate()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public ComplexNumber Exp()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
4 changes: 2 additions & 2 deletions exercises/practice/connect/Connect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public class Connect
{
public Connect(string[] input)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public ConnectWinner Result()
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
8 changes: 4 additions & 4 deletions exercises/practice/crypto-square/CryptoSquare.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ public static class CryptoSquare
{
public static string NormalizedPlaintext(string plaintext)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public static IEnumerable<string> PlaintextSegments(string plaintext)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public static string Encoded(string plaintext)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}

public static string Ciphertext(string plaintext)
{
throw new NotImplementedException("You need to implement this function.");
throw new NotImplementedException("You need to implement this method.");
}
}
Loading

0 comments on commit 52952e6

Please sign in to comment.