Documentation ¶
Overview ¶
Package tests contains all tests that can be executed
Index ¶
- Constants
- func NewAesGcmTest(n uint) core.Test
- func NewFactorialTest(n uint) core.Test
- func NewFibonacciTest(n uint) core.Test
- func NewPiTest(n uint) core.Test
- func NewTrigonometryTest(n uint) core.Test
- func ParseTestCases(testList TestCases) (core.Tests, error)
- type TestCase
- type TestCaseArgs
- type TestCases
Constants ¶
View Source
const ( Fibonacci testName = "fibonacci" Factorial = "factorial" Trigonometry = "trigonometry" LeibnizPi = "leibniz_π" AesGcm = "aes_gcm" )
Name of all available tests
Variables ¶
This section is empty.
Functions ¶
func NewFactorialTest ¶
NewFactorialTest creates new factorial test
func NewFibonacciTest ¶
NewFibonacciTest creates new fibonacci test
func NewTrigonometryTest ¶
NewTrigonometryTest creates new trigonometry test
Types ¶
type TestCase ¶
type TestCase struct { Name testName `yaml:"name"` Args TestCaseArgs `yaml:"args"` }
TestCase represents test with it's args
Click to show internal directories.
Click to hide internal directories.