Skip to content

Commit

Permalink
Added a test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruin-NR committed Feb 5, 2024
1 parent 71f7294 commit 8d92f28
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ - (void) testCorrectness
NRMAApplicationPlatform capacitor = NRMAPlatform_Capacitor;
NSString* capacitorPlatformString = [NewRelicInternalUtils stringFromNRMAApplicationPlatform:capacitor];
XCTAssertTrue([capacitorPlatformString isEqualToString:expectedCapacitorString]);

NSString* expectedUnrealString = @"Unreal";

NRMAApplicationPlatform Unreal = NRMAPlatform_Unreal;
NSString* UnrealPlatformString = [NewRelicInternalUtils stringFromNRMAApplicationPlatform:Unreal];
XCTAssertTrue([UnrealPlatformString isEqualToString:expectedUnrealString]);
}


Expand Down

0 comments on commit 8d92f28

Please sign in to comment.