import { assertEquals } from "@std/assert/equals"; import { camelToTitleCase } from "./util_string.ts"; Deno.test("camelToTitleCase transforms camelCase to Title Case", () => { assertEquals(camelToTitleCase("thisIsATest"), "This Is a Test"); assertEquals(camelToTitleCase("denoIsAwesome"), "Deno Is Awesome"); assertEquals(camelToTitleCase("helloWorld"), "Hello World"); }); Deno.test("camelToTitleCase handles empty string", () => { assertEquals(camelToTitleCase(""), ""); });