1 assertEq( toCamelCaseBySep( "single-precision-constant", "-", false ), "singlePrecisionConstant" ); 2 assertEq( toCamelCaseBySep( "one.two.three", ".", true ), "OneTwoThree" ); 3 assertEq( toCamelCaseBySep( "one..three", ".", true ), "OneThree" ); 4 assertEq( toCamelCaseBySep( "one/three", "/" ), "OneThree" ); 5 assertEq( toCamelCaseBySep( "one_.three", ".", false ), "one_Three" ); 6 7 // `_` in upper case looks equals as lower case 8 assertEq( toCamelCaseBySep( "one._three", ".", true ), "One_three" );