Passed
Push — master ( 206a80...44bd28 )
by Simon
01:21
created

tests.test_optimizers.test_EnsembleOptimizer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_opt() 0 2 1
1
# Author: Simon Blanke
2
# Email: [email protected]
3
# License: MIT License
4
5
import numpy as np
6
7
from gradient_free_optimizers import EnsembleOptimizer
8
from ._base_test import _base_test
9
10
n_iter = 33
11
opt = EnsembleOptimizer
12
13
14
def test_opt():
15
    _base_test(opt, n_iter)
16
17