import type { BigNumber } from "@ethersproject/bignumber" ; import { expect } from "chai" ; import { PI } from "../../../../src/constants" ; export function shouldBehaveLikePiGetter ( ) { it ( "returns pi" , async function ( ) { const expected = PI ; expect ( expected ) . to . equal ( await this . contracts . prbMathSd59x18 . getPi ( ) ) ; expect ( expected ) . to . equal ( await this . contracts . prbMathSd59x18Typed . getPi ( ) ) ; } ) ; }