accountingtest

package
v0.0.0-...-0352b5b Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package accountingtest provides functions for convenient testing of accounting package API.

Note that importing the package into source files is highly discouraged.

Random instance generation functions can be useful when testing expects any value, e.g.:

import accountingtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting/test"

dec := accountingtest.Decimal()
// test the value

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decimal

func Decimal() *accounting.Decimal

Decimal returns random accounting.Decimal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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