Skip to content

Instantly share code, notes, and snippets.

@pschanely
Created January 30, 2026 19:51
Show Gist options
  • Select an option

  • Save pschanely/bdd376d4f245c78616ade00aab590988 to your computer and use it in GitHub Desktop.

Select an option

Save pschanely/bdd376d4f245c78616ade00aab590988 to your computer and use it in GitHub Desktop.
Shared via CrossHair Playground
def make_bigger(n: int) -> int:
'''
post: __return__ != 0
'''
return 2 * n + 10from enum import IntEnum
from crosshair.z3util import z3IntVal
class IntSubClass(IntEnum):
FIRST = 1
def test_intval_on_int_enum():
z3IntVal(IntSubClass.FIRST)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment