#Needs: fonts/AddExtremumTest.sfd

#Check that AddExtrema doesn't distort the curve (by much).

Open($1)
Reencode("Original")
SelectAll()
Copy()
AddExtrema()
CompareGlyphs(-1,3)
CompareGlyphs()

Copy()
Simplify()
CompareGlyphs(-1,3)
