Skip to content

Commit

Permalink
Add logging statements to PetHelper.cs for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
rpothin committed Apr 23, 2024
1 parent ae92bf2 commit abc7f9e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ public static bool ArePetHapppinessPointsCorrectlyUpdatedAfterCuddleActivity(Ser

Console.WriteLine($"happinessPointsBeforeCuddle: {happinessPointsBeforeCuddle}");
Console.WriteLine($"happinessPoints: {happinessPoints}");
Console.WriteLine($"_initialHappinessPoints: {_initialHappinessPoints}");
Console.WriteLine($"_cuddleHappinessPoints: {_cuddleHappinessPoints}");

// Check if the happiness points are correctly updated
if (happinessPointsBeforeCuddle + _cuddleHappinessPoints >= _initialHappinessPoints) {
Expand Down

0 comments on commit abc7f9e

Please sign in to comment.