# Path: pywal/image.py
# def get_image_dir_recursive(img_dir):
# def get_image_dir(img_dir):
# def get_random_image(img_dir, recursive):
# def get_next_image(img_dir, recursive):
# def get(img, cache_dir=CACHE_DIR, iterative=False, recursive=False):


import unittest
from pywal import image
"""Test image functions."""



class TestImage(unittest.TestCase):
    """Test image functions."""
    def test_get_img(self):
        """> Validate image file."""
        result = image.get("tests/test_files/test.jpg")
        self.assertIn("tests/test_files/test.jpg", result)

    def test_get_img_dir(self):
        """> Validate image directory."""

# Path: pywal/image.py
# def get_image_dir_recursive(img_dir):
# def get_image_dir(img_dir):
# def get_random_image(img_dir, recursive):
# def get_next_image(img_dir, recursive):
# def get(img, cache_dir=CACHE_DIR, iterative=False, recursive=False):


# Path: tests/test_image.py
import unittest
from pywal import image

"""Test image functions."""



class TestImage(unittest.TestCase):
    """Test image functions."""
    def test_get_img(self):
        """> Validate image file."""
        result = image.get("tests/test_files/test.jpg")
        self.assertIn("tests/test_files/test.jpg", result)

    def test_get_img_dir(self):
        """> Validate image directory."""

        result = image.get("tests/test_files")