# This test code was written by the `hypothesis.extra.ghostwriter` module
# and is provided under the Creative Commons Zero public domain dedication.

import test_expected_output
import typing
from hypothesis import given, strategies as st


@given(a=st.floats(), b=st.one_of(st.none(), st.floats(), st.integers()))
def test_fuzz_optional_union_parameter(
    a: float, b: typing.Union[float, int, None]
) -> None:
    test_expected_output.optional_union_parameter(a=a, b=b)
