#!/bin/sh . ./Common ############################################################################### tst "area without holes, constant offset" <next = p2d_new(); p2d_append(p, v2d_new(2, 2)); p2d_append(p, v2d_new(2, 8)); p2d_append(p, v2d_new(18, 8)); p2d_append(p, v2d_new(18, 2)); p2d_close(p); q = p2d_area(pl, 0.7, 0); p2d_write_gnuplot_all(stdout, q); EOF expect <