# Path: moonlight/vision/morphology.py
# def binary_erosion(image, n):
# def binary_dilation(image, n):
# def _repeated_morphological_op(float_image, binary_op, n):
#   def body(i, image):
# def _single_morphological_op(float_image, binary_op):


import numpy as np
import tensorflow as tf
from moonlight.vision import morphology
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Tests for binary morphology."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function




class MorphologyTest(tf.test.TestCase):

  def testMorphology_false(self):

# Path: moonlight/vision/morphology.py
# def binary_erosion(image, n):
# def binary_dilation(image, n):
# def _repeated_morphological_op(float_image, binary_op, n):
#   def body(i, image):
# def _single_morphological_op(float_image, binary_op):


# Path: moonlight/vision/morphology_test.py
import numpy as np
import tensorflow as tf
from moonlight.vision import morphology

# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Tests for binary morphology."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function




class MorphologyTest(tf.test.TestCase):

  def testMorphology_false(self):

    for op in [morphology.binary_erosion, morphology.binary_dilation]: