You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the API supports calling drawing functions on subclassed Drawables, I can write a mock class that records when different functions get called, and their parameters. This way, I can write code that uses the PDL API and the standard Prima API and compare the results.
I think the best way to do this is to not record the order of property assignments, but rather to record the state of the object when a drawing operation takes place. This way I'm testing state, not implementation.
The text was updated successfully, but these errors were encountered:
Now that the API supports calling drawing functions on subclassed Drawables, I can write a mock class that records when different functions get called, and their parameters. This way, I can write code that uses the PDL API and the standard Prima API and compare the results.
I think the best way to do this is to not record the order of property assignments, but rather to record the state of the object when a drawing operation takes place. This way I'm testing state, not implementation.
The text was updated successfully, but these errors were encountered: