func TestGosseract_Anyway(t *testing.T) { args := gosseract.AnywayArgs{ SourcePath: ".samples/png/sample000.png", } assert( t, gosseract.Anyway(args), "01:37:58\n\n", ) }
func TestAnyway(t *testing.T) { Describe(t, "Anyway", func() { It("should exeute OCR anyway with args.", func() { args := gosseract.AnywayArgs{ SourcePath: "samples/png/sample000.png", } out := gosseract.Anyway(args) Expect(out).To(Equal, "01:37:58\n\n") }) }) }