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 b7213ab commit cdabbaf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ public static bool ArePetHapppinessPointsCorrectlyUpdatedAfterCuddleActivity(Ser
// Get the happiness points
var happinessPoints = pet.GetAttributeValue<int>("rpo_happinesspoints");

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

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

0 comments on commit cdabbaf

Please sign in to comment.