Completed
Pull Request — master (#40)
by Wojtek
07:47
created

TestGroupingStrategy   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
dl 0
loc 4
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A test___init__() 0 3 1
1
"""Testing grouping strategy."""
2
from unittest import TestCase
3
4
from grortir.main.optimizers.grouping_strategy import GroupingStrategy
5
6
7
class TestGroupingStrategy(TestCase):
0 ignored issues
show
Coding Style introduced by
This class should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
8
    def test___init__(self):
0 ignored issues
show
Coding Style introduced by
This method should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
9
        grouping_strategy = GroupingStrategy([])
10
        self.assertIsNotNone(grouping_strategy)
11