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

test_opt()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
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