import * as tracing_1 from "../../Tracing"
const fileName_1 = "(@effect-ts/system): _src/Testing/AssertionMData/index.ts"
import * as T from "../../Effect"
import * as makeAssertionValue from "../AssertionValue/makeAssertionValue"
import * as BA from "../BoolAlgebra"
import * as BAM from "../BoolAlgebraM"
export function makeAssertionMData(assertion, value) {
  return {
    value,
    assertion
  }
}
export function asFailure(amd) {
  return BA.failure(
    makeAssertionValue.makeAssertionValue(amd.assertion, amd.value, () =>
      asFailure(amd)
    )
  )
}
export function asSuccess(amd) {
  return BA.failure(
    makeAssertionValue.makeAssertionValue(amd.assertion, amd.value, () =>
      asSuccess(amd)
    )
  )
}
export function asFailureM(amd) {
  return new BAM.BoolAlgebraM(T.succeed(asFailure(amd), fileName_1 + ":38:40"))
}
export function asSuccessM(amd) {
  return new BAM.BoolAlgebraM(T.succeed(asSuccess(amd), fileName_1 + ":42:40"))
}
//# sourceMappingURL=index.js.map
