22 lines
664 B
Python
Executable File
22 lines
664 B
Python
Executable File
#!/usr/bin/env python3
|
|
#******************************************************************************
|
|
# Copyright (C) 2018 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
|
|
# This file is part of the textoutpc project, which is MIT-licensed.
|
|
#******************************************************************************
|
|
""" Unit tests for the Python version of textout, lightscript-related
|
|
functions. """
|
|
|
|
import pytest
|
|
|
|
from textoutpc import tolightscript as _tolightscript
|
|
|
|
@pytest.mark.parametrize('test_input,expected', (
|
|
# Basic text.
|
|
|
|
('', ''),
|
|
))
|
|
def test_lightscript(test_input, expected):
|
|
assert _tolightscript(test_input) == expected
|
|
|
|
# End of file.
|