testutils

package
v0.0.0-...-90a1d6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2020 License: AGPL-3.0, AGPL-3.0-only Imports: 4 Imported by: 0

Documentation

Overview

Package testutils provides test methods that are not intended to be exported.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareDictionariesDeep

func CompareDictionariesDeep(d1, d2 *core.PdfObjectDictionary) bool

CompareDictionariesDeep does a deep comparison of `d1` and `d2` and returns true if equal.

func ParseIndirectObjects

func ParseIndirectObjects(rawpdf string) (map[int64]core.PdfObject, error)

ParseIndirectObjects parses a sequence of indirect/stream objects sequentially from a `rawpdf` text. Great for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL