15 lines
251 B
Go
15 lines
251 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestCamelCaseToUnderscore(t *testing.T) {
|
||
|
fmt.Println(CamelCaseToUnderscore("HelloWorld"))
|
||
|
}
|
||
|
|
||
|
func TestCamelCaseToJavascriptCase(t *testing.T) {
|
||
|
fmt.Println(CamelCaseToJavascriptCase("HelloWorld"))
|
||
|
}
|