EmergentOrganization/cell-rpg

View on GitHub
core/src/io/github/emergentorganization/cellrpg/systems/CASystems/CAs/CACell/GeneticCellTest.java

Summary

Maintainability
A
3 hrs
Test Coverage

Method testActivationPropagation has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testActivationPropagation() throws Exception {
        TestCell2 cell_builder = new TestCell2();
        logger.debug("cell builder:" + cell_builder);
        GeneticCell testCell = new GeneticCell(1, cell_builder);

    Method testAlwaysOnStaysActive has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        @Test
        public void testAlwaysOnStaysActive() throws Exception {
            GeneticCell testCell = new GeneticCell(1, new TestCell1());
            // check activation value
            int TF = Integer.parseInt(DGRN.getNodeAttributeValue(

      There are no issues that match your filters.

      Category
      Status