"""Tests para to_pascal_case."""

import sys
import os

sys.path.insert(0, os.path.dirname(__file__))
from to_pascal_case import to_pascal_case


def test_snake_case():
    assert to_pascal_case("works_for") == "WorksFor"


def test_camel_case():
    assert to_pascal_case("camelCaseExample") == "CamelCaseExample"


def test_upper_snake():
    assert to_pascal_case("SCREAMING_SNAKE") == "ScreamingSnake"


def test_kebab_case():
    assert to_pascal_case("kebab-case") == "KebabCase"


def test_pascal_case_idempotente():
    assert to_pascal_case("PersonName") == "PersonName"


def test_string_vacio():
    assert to_pascal_case("") == "Unknown"


def test_con_numeros():
    assert to_pascal_case("field_2_value") == "Field2Value"
