Skip to content

Commit

Permalink
Add Z3Sort>>isIntSort in parallel to isBoolSort
Browse files Browse the repository at this point in the history
  • Loading branch information
shingarov committed Oct 28, 2024
1 parent e3045b7 commit c49bd81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Z3/Z3IntSort.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Z3IntSort >> cast: val [
^val toInt
]

{ #category : #testing }
Z3IntSort >> isIntSort [
^ true
]

{ #category : #'type theory' }
Z3IntSort >> nodeClass [
^ Int
Expand Down
5 changes: 5 additions & 0 deletions src/Z3/Z3Sort.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ Z3Sort >> isBoolSort [
^ false
]

{ #category : #testing }
Z3Sort >> isIntSort [
^ false
]

{ #category : #accessing }
Z3Sort >> kind [
^ SORT_AST
Expand Down

0 comments on commit c49bd81

Please sign in to comment.