changed protected modules to public

This commit is contained in:
Richard Feistenauer 2019-02-23 16:43:36 +01:00
parent 5e8b07799b
commit 924a851c43
9 changed files with 11 additions and 11 deletions

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
import cellular_automaton.cellular_automaton._cell_state as cs import cellular_automaton.cellular_automaton.cell_state as cs
class Cell: class Cell:

View File

@ -18,7 +18,7 @@ import pygame
import time import time
import operator import operator
import cellular_automaton.cellular_automaton._automaton as automaton import cellular_automaton.cellular_automaton.automaton as automaton
class _CASurface: class _CASurface:

View File

@ -1,8 +1,8 @@
from . import Neighborhood, Rule from . import Neighborhood, Rule
from ._automaton import CellularAutomatonProcessor, CellularAutomatonMultiProcessor from .automaton import CellularAutomatonProcessor, CellularAutomatonMultiProcessor
from ._cell import Cell from .cell import Cell
from ._state import CellularAutomatonState from .state import CellularAutomatonState
from ._cell_state import CellState, SynchronousCellState from .cell_state import CellState, SynchronousCellState
from typing import Type from typing import Type
""" """
Copyright 2019 Richard Feistenauer Copyright 2019 Richard Feistenauer

View File

@ -17,8 +17,8 @@ limitations under the License.
import sys import sys
sys.path.append('../..') sys.path.append('../..')
from cellular_automaton.cellular_automaton._cell import Cell from cellular_automaton.cellular_automaton.cell import Cell
from cellular_automaton.cellular_automaton._cell_state import CellState from cellular_automaton.cellular_automaton.cell_state import CellState
import unittest import unittest

View File

@ -17,7 +17,7 @@ limitations under the License.
import sys import sys
sys.path.append('../..') sys.path.append('../..')
from cellular_automaton.cellular_automaton import _cell_state as cell_state from cellular_automaton.cellular_automaton import cell_state as cell_state
import unittest import unittest

View File

@ -18,8 +18,8 @@ import sys
sys.path.append('../..') sys.path.append('../..')
from cellular_automaton.cellular_automaton import * from cellular_automaton.cellular_automaton import *
from cellular_automaton.cellular_automaton._cell_state import CellState from cellular_automaton.cellular_automaton.cell_state import CellState
from cellular_automaton.cellular_automaton._state import CellularAutomatonState from cellular_automaton.cellular_automaton.state import CellularAutomatonState
import unittest import unittest
import mock import mock