xalanq / cf-tool

:bar_chart: Codeforces CLI (Submit, Parse, Test, etc.). Support Contests, Gym, Groups, acmsguru, Windows, macOS, Linux, 7 MB
MIT License
1.32k stars 227 forks source link

feature request: case insencitive mode and float torrance #72

Open cubercsl opened 4 years ago

cubercsl commented 4 years ago

Some problems may have specal judge, like "Yes" and "No" or float number compare.

But most time we use cf test testing these problems will fail.

So I think we can add the support for the testlib std checkers.

infalmo commented 4 years ago

This would over complicate the tool. An easier method would be to ignore case while comparing the output with the expected output.

cubercsl commented 4 years ago

This would over complicate the tool. An easier method would be to ignore case while comparing the output with the expected output.

Yes, may be. But I think we should add an option whether to compare in case sencitive mode and float torrance.

infalmo commented 4 years ago

Is this good (for floating comparisions) image

And case insensitive mode image

cubercsl commented 4 years ago

Is this good (for floating comparisions) image

And case insensitive mode image

It looks very good~