# Copyright (c) 2008-2015 MetPy Developers.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
from metpy.plots.wx_symbols import current_weather


def test_mapper():
    'Test for symbol mapping functionality'
    assert current_weather(0) == ''
    assert current_weather(4) == u'\ue9a2'
    assert current_weather(7) == u'\ue9a5'
    assert current_weather(65) == u'\ue9e1'


def test_alt_char():
    'Test alternate character functionality for mapper'
    assert current_weather.alt_char(7, 1) == u'\ue9a6'
    assert current_weather.alt_char(7, 2) == u'\ue9a7'

Add tests for weather symbol mapping.