Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void test() {
- ShadowPath shadowPath = Robolectric.shadowOf(new Path());
- drawToPath(shadowPath);
- List<Point> points = path.getPoints();
- ...assertPoints...
- }
- public void drawToPath(Path path) {
- path.moveTo(x, y);
- path.drawTo(x1, y1);
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement