histoprint icon indicating copy to clipboard operation
histoprint copied to clipboard

Actual tests

Open ast0815 opened this issue 5 years ago • 3 comments

Would be good to have some tests that can actually fail instead of depending on visual checks.

ast0815 avatar May 16 '20 19:05 ast0815

Any thoughts on what to add?

eduardo-rodrigues avatar May 19 '21 14:05 eduardo-rodrigues

We could check for an exact match in an output string of a histogram, but I'm not sure that is very useful. I guess it would add more extra work (to keep the comparison string up-to-date) than it's worth.

ast0815 avatar May 22 '21 17:05 ast0815

That's fair enough. One idea might be to profit from the fact that you interoperate well with boost-histogram and simply add a couple of comparisons after the conversion. It's not a pure/direct test, but that's probably OK enough. Dunno if @henryiii would have some other idea ... Otherwise you can probably close this task as done, I guess.

eduardo-rodrigues avatar May 23 '21 16:05 eduardo-rodrigues