5
What's a good way to Equivalence test an algorithm against its Python implementation?
Post Flair (click to view more posts with a particular flair)
Post Body
I have an algorithm for Trapezoidal trajectory planning written and thoroughly tested (fuzzed, really) in Python, which was then ported to C . Is there a good or easy way to perform equivalence testing? The best option I'm coming up with is to mock up an entire program to read the test sequence from a file then compare the stdout or file outputs. I'm using doctest for C unit testing at the moment.
Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
130,597
Link Karma
12,951
Comment Karma
117,424
Profile updated: 13 hours ago
Posts updated: 9 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/cpp_questio...