File: summarize_fuzz.go

package info (click to toggle)
golang-github-jdkato-prose 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 12,904 kB
  • sloc: python: 115; makefile: 52; sh: 41
file content (16 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// +build gofuzz

package summarize

func Fuzz(data []byte) int {
	d := NewDocument(string(data))

	d.AutomatedReadability()
	d.ColemanLiau()
	d.DaleChall()
	d.FleschKincaid()
	d.FleschReadingEase()
	d.GunningFog()

	return 0
}