( id: string, formula: unknown, variables: string[] = [], assumptions: unknown = null, cls: 'identity' | 'specific-value' = 'identity' )
| 46 | }; |
| 47 | |
| 48 | function entry( |
| 49 | id: string, |
| 50 | formula: unknown, |
| 51 | variables: string[] = [], |
| 52 | assumptions: unknown = null, |
| 53 | cls: 'identity' | 'specific-value' = 'identity' |
| 54 | ): Entry { |
| 55 | return { |
| 56 | id, |
| 57 | formula, |
| 58 | variables, |
| 59 | assumptions, |
| 60 | class: cls, |
| 61 | subclass: null, |
| 62 | heads: [], |
| 63 | guardLevel: assumptions === null ? 'none' : 'real-simple', |
| 64 | flavor: null, |
| 65 | references: null, |
| 66 | topics: ['fixture'], |
| 67 | topic: 'fixture', |
| 68 | } as Entry; |
| 69 | } |
| 70 | |
| 71 | function guards(assumptions: unknown, variables: string[]): GuardSpec[] { |
| 72 | const r = compileGuards(assumptions, variables); |
no outgoing calls
no test coverage detected