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

data/bad Validators tests #35

Closed
RagnarGrootKoerkamp opened this issue Jan 22, 2020 · 0 comments
Closed

data/bad Validators tests #35

RagnarGrootKoerkamp opened this issue Jan 22, 2020 · 0 comments

Comments

@RagnarGrootKoerkamp
Copy link
Owner

RagnarGrootKoerkamp commented Jan 22, 2020

Files in data/bad can be used to test the validators.

The plan is to implement the following:

A single data/bad/test.in should fail at least one input validator.

A triple data/bad/test.{in,ans,out} should pass all input validators and should fail at least one output validator, where the .ans is OK, but .out is bad. If only one of .ans and .out is given, it will be assumed that a .ans is not needed to validate a .out and the single file will be used both as .ans and .out.

This can easily be changed when this is standardised in the problemarchive format. See also Kattis/problemtools#51 and Kattis/problemtools#86

RagnarGrootKoerkamp added a commit that referenced this issue Jan 22, 2020
Also updates existing output validators to read a float instead of int, as is needed for the new sample problem.
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

1 participant