from unittest import TestCase

from regparser.layer.layer import *
from regparser.tree.struct import Node

class ExampleLayer(Layer):
    pass

class LayerLayerTest(TestCase):
    """Test default implementations"""

    def test_pre_process(self):
        el = ExampleLayer(Node('some text'))
        self.assertEqual(None, el.pre_process())
    
    def test_process(self):
        el = ExampleLayer(Node("other text"))
        self.assertEqual(NotImplemented, el.process(Node("oo")))

685637ea08c2ecd02501c155e27543f7cdc7235f
<mask token>


class LayerLayerTest(TestCase):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class LayerLayerTest(TestCase):
    """Test default implementations"""

    def test_pre_process(self):
        el = ExampleLayer(Node('some text'))
        self.assertEqual(None, el.pre_process())

    def test_process(self):
        el = ExampleLayer(Node('other text'))
        self.assertEqual(NotImplemented, el.process(Node('oo')))

<mask token>


class ExampleLayer(Layer):
    pass


class LayerLayerTest(TestCase):
    """Test default implementations"""

    def test_pre_process(self):
        el = ExampleLayer(Node('some text'))
        self.assertEqual(None, el.pre_process())

    def test_process(self):
        el = ExampleLayer(Node('other text'))
        self.assertEqual(NotImplemented, el.process(Node('oo')))

from unittest import TestCase
from regparser.layer.layer import *
from regparser.tree.struct import Node


class ExampleLayer(Layer):
    pass


class LayerLayerTest(TestCase):
    """Test default implementations"""

    def test_pre_process(self):
        el = ExampleLayer(Node('some text'))
        self.assertEqual(None, el.pre_process())

    def test_process(self):
        el = ExampleLayer(Node('other text'))
        self.assertEqual(NotImplemented, el.process(Node('oo')))

from unittest import TestCase

from regparser.layer.layer import *
from regparser.tree.struct import Node

class ExampleLayer(Layer):
    pass

class LayerLayerTest(TestCase):
    """Test default implementations"""

    def test_pre_process(self):
        el = ExampleLayer(Node('some text'))
        self.assertEqual(None, el.pre_process())
    
    def test_process(self):
        el = ExampleLayer(Node("other text"))
        self.assertEqual(NotImplemented, el.process(Node("oo")))
