2018-01-02 18:57:04 +01:00
|
|
|
#!/usr/bin/env python3
|
2018-02-19 19:50:26 +01:00
|
|
|
#******************************************************************************
|
|
|
|
# Copyright (C) 2018 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
|
|
|
|
# This file is part of the textoutpc project, which is MIT-licensed.
|
|
|
|
#******************************************************************************
|
2019-06-25 14:49:22 +02:00
|
|
|
""" Unit tests for the Python version of textout, lightscript-related
|
|
|
|
functions. """
|
2018-01-02 18:57:04 +01:00
|
|
|
|
2019-06-25 14:49:22 +02:00
|
|
|
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
|
2018-01-02 18:57:04 +01:00
|
|
|
|
|
|
|
# End of file.
|