Created
May 12, 2019 10:36
-
-
Save etorreborre/2a038c0544ac239c32aa78dbecf0c187 to your computer and use it in GitHub Desktop.
propertyt-statet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test_with_better_department_name = | |
| prop "a department must have a short capitalized name" $ runS generators $ do | |
| setSmallCompany | |
| setDepartmentName | |
| company <- forallS @Company | |
| let Just d = head $ departments company | |
| (T.length (departmentName d) <= 5) === True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment