One request per port
SuccessfulCode/SuccessfulCodeTools/master There was a failure building this commit
SuccessfulCode/SuccessfulCodeTools/master There was a failure building this commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using Xunit;
|
||||
|
||||
namespace SuccessfulCodeTools.Tests
|
||||
{
|
||||
public class StringExtensionsTests
|
||||
{
|
||||
[Theory]
|
||||
[InlineData("CaMel_cAse", "CamelCase")]
|
||||
public void CheckSnakeCaseToCamelCase(string input, string expectedOutput)
|
||||
{
|
||||
//Arrange
|
||||
//Act
|
||||
var result = input.FromSnakeToCamel();
|
||||
//Assert
|
||||
Assert.Equal(expectedOutput, result);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user