Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the illegality test function? #7

Open
pyImagination opened this issue Jan 9, 2019 · 2 comments
Open

How to use the illegality test function? #7

pyImagination opened this issue Jan 9, 2019 · 2 comments

Comments

@pyImagination
Copy link

pyImagination commented Jan 9, 2019

Dear author, I have a question here. I don't know how to set parameters to support negative testing. In PICT, you only need to mark a '~' sign before the parameter to generate a negative case.How can i generatea negative cases in pypict? I hope you can help me,thank you very much!

@kmaehashi
Copy link
Owner

Unfortunately that is a feature of PICT Command; it is not available in PICT C API layer.
If you are familiar with PICT's model syntax, you can use pypict.cmd.from_model(your_model_text) which uses PICT Command, instead of pypict.tools.from_dict(your_model_dict) which uses PICT C API.

@pyImagination
Copy link
Author

Yes,I got it. I had used to solve my problem by pypict.cmd.from_model(your_model_text) .Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants