1-
21//===----------------------------------------------------------------------===//
32//
43// This source file is part of the SwiftAWSLambdaRuntime open source project
1514
1615import Testing
1716
18- @testable import APIGatewayLambda // to access the business code
17+ @testable import APIGatewayLambda // to access the business code
1918
2019let valuesToTest : [ ( String , String ) ] = [
21- ( " hello world " , " Hello world " ) , // happy path
22- ( " " , " " ) , // Empty string
23- ( " a " , " A " ) , // Single character
24- ( " A " , " A " ) , // Single uppercase character
25- ( " HELLO WORLD " , " Hello world " ) , // All uppercase
26- ( " hello world " , " Hello world " ) , // All lowercase
27- ( " hElLo WoRlD " , " Hello world " ) , // Mixed case
28- ( " 123abc " , " 123abc " ) , // Numeric string
29- ( " !@#abc " , " !@#abc " ) // Special characters
20+ ( " hello world " , " Hello world " ) , // happy path
21+ ( " " , " " ) , // Empty string
22+ ( " a " , " A " ) , // Single character
23+ ( " A " , " A " ) , // Single uppercase character
24+ ( " HELLO WORLD " , " Hello world " ) , // All uppercase
25+ ( " hello world " , " Hello world " ) , // All lowercase
26+ ( " hElLo WoRlD " , " Hello world " ) , // Mixed case
27+ ( " 123abc " , " 123abc " ) , // Numeric string
28+ ( " !@#abc " , " !@#abc " ) , // Special characters
3029]
3130
3231@Suite ( " Business Tests " )
3332class BusinessTests {
3433
3534 @Test ( " Uppercased First " , arguments: valuesToTest)
36- func uppercasedFirst( _ arg: ( String , String ) ) {
35+ func uppercasedFirst( _ arg: ( String , String ) ) {
3736 let input = arg. 0
3837 let expectedOutput = arg. 1
3938 #expect( input. uppercasedFirst ( ) == expectedOutput)
4039 }
41- }
40+ }
0 commit comments