def test_pipe_should_pipe_two_function(self) -> None:

    def echo(x: str) -> str:
        return f'echo {x}'

    def grep() -> str:
        return 'grep world'
    param = 'hello world'
    output = pipe(echo, grep)(param)
    self.assertEqual(output, f'echo {param} | grep world')
def test_pipe_should_pipe_two_function(self) -> None:

    def echo(x: str) -> str:
        return f'echo {x}'

    def grep() -> str:
        return 'grep world'
    param = 'hello world'
    output = pipe(echo, grep)(param)
    self.assertEqual(output, f'echo {param} | grep world')