-- expected failures on bs_date cast
SELECT '2056-13-40'::bs_date; -- invalid BS date
SELECT 'jpt-value'::bs_date; -- invalid string
SELECT '2101/01/01'::bs_date; -- out of range BS date
SELECT 12345::bs_date; -- invalid type

-- expected failures on ad_to_bs
SELECT ad_to_bs('2001-13-01'); -- invalid AD date
SELECT ad_to_bs('jpt-value'); -- invalid input string
SELECT ad_to_bs(12345); -- invalid argument type
SELECT ad_to_bs('2045/01/01'); -- out of range date value (not supported for BS conversion currently)
