utils

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinTestByType added in v0.1.4

func BinTestByType(contract *compilationTypes.CompiledContract, propertyTestPrefixes, optimizationTestPrefixes []string, testViewMethods bool) (assertionTests, propertyTests, optimizationTests []abi.Method)

BinTestByType sorts a contract's methods by whether they are assertion, property, or optimization tests.

func IsOptimizationTest

func IsOptimizationTest(method abi.Method, prefixes []string) bool

IsOptimizationTest checks whether the method is an optimization test given potential naming prefixes it must conform to and its underlying input/output arguments.

func IsPropertyTest

func IsPropertyTest(method abi.Method, prefixes []string) bool

IsPropertyTest checks whether the method is a property test given potential naming prefixes it must conform to and its underlying input/output arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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