def METHOD_NAME():
    """
    Tests the heat map function maps correctly
    """
    # Generate two images that mirror each other
    color_1 = convert_pt_to_heatmap(grey_image(False))
    color_2 = convert_pt_to_heatmap(grey_image(True))
    # Check values map to their mirrored values
    for i in range(DEFAULT_WINDOW_SIZE):
        for j in range(DEFAULT_WINDOW_SIZE):
            assert color_1.pixel(i, j) \
                   == color_2.pixel(
                       DEFAULT_WINDOW_SIZE-i-1, DEFAULT_WINDOW_SIZE-j-1)
    # Test end values are black and white
    for k in range(DEFAULT_WINDOW_SIZE):
        assert QColor(color_1.pixel(0, k)).getRgb() \
               == QColor(color_2.pixel(DEFAULT_WINDOW_SIZE-1, k)).getRgb() \
               == (0, 0, 0, 255)
        assert QColor(color_1.pixel(DEFAULT_WINDOW_SIZE-1, k)).getRgb() \
               == QColor(color_2.pixel(0, k)).getRgb() \
               == (255, 255, 255, 255)