Tests/Sample.Tests.ps1

Describe 'GenXdev Module Tests' {
    It 'should return expected output for function A' {
        $result = FunctionA -Input 'test'
        $expected = 'expected output'
        $result | Should -BeExactly $expected
    }

    It 'should throw an error for invalid input in function B' {
        { FunctionB -Input 'invalid' } | Should -Throw
    }
}