import { intersection, refine, number } from '../../../src'

const A = number()
const B = refine(number(), 'positive', (value) => value > 0)

export const Struct = intersection([A, B])

export const data = -1

export const failures = [
  {
    type: 'number',
    refinement: 'positive',
    value: -1,
    path: [],
    branch: [data],
  },
]
