Skip to content

Commit f22bb70

Browse files
committed
Add doctest
1 parent 396ba97 commit f22bb70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

windpowerlib/wind_turbine.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ class WindTurbine(object):
113113
18000.0
114114
>>> print(e_t_1.nominal_power)
115115
1500000.0
116+
>>> print(e_t_1.to_group(5)['number_of_turbines'])
117+
5
116118
117119
"""
118120

0 commit comments

Comments
 (0)