The test predicates for the constants in the enumeration. @throws Z3Exception on error
()
| 74 | * @throws Z3Exception on error |
| 75 | **/ |
| 76 | @SuppressWarnings("unchecked") |
| 77 | public FuncDecl<BoolSort>[] getTesterDecls() |
| 78 | { |
| 79 | int n = Native.getDatatypeSortNumConstructors(getContext().nCtx(), getNativeObject()); |
| 80 | FuncDecl<BoolSort>[] t = new FuncDecl[n]; |
| 81 | for (int i = 0; i < n; i++) |
| 82 | t[i] = new FuncDecl<>(getContext(), Native.getDatatypeSortRecognizer(getContext().nCtx(), getNativeObject(), i)); |
| 83 | return t; |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * Retrieves the inx'th tester/recognizer declaration in the enumeration. |
no test coverage detected