 			case let .addLine(to: p1):
 
 				guard let p0 = currentPoint else {
-					assert(false, "Expected current point")
+					assertionFailure("Expected current point")
 					break
 				}
 

			case let .addQuadCurve(c1, to: p1):

				guard let p0 = currentPoint else {
					assert(false, "Expected current point")
					break
				}


			case let .addCurve(c1, c2, to: p1):

				guard let p0 = currentPoint else {
					assertionFailure("Expected current point")
					break
				}

