Initial commit
This commit is contained in:
17
tests/context.py
Normal file
17
tests/context.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Created on Sun May 14 13:48:42 2023
|
||||
|
||||
@author: Edward Middleton-Smith
|
||||
Precision And Research Technology Systems Limited
|
||||
|
||||
Project: Braille Model Generator
|
||||
|
||||
Feature: test context
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||
|
||||
import model_gen
|
||||
15
tests/test_advanced.py
Normal file
15
tests/test_advanced.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Created on Sun May 14 13:48:42 2023
|
||||
|
||||
@author: Edward Middleton-Smith
|
||||
Company: Precision And Research Technology Systems Limited
|
||||
|
||||
Project: Braille Model Generator
|
||||
|
||||
Feature: advanced / comprehensive unit test procedure
|
||||
"""
|
||||
|
||||
from .context import model_gen
|
||||
|
||||
model_gen.main.generate()
|
||||
15
tests/test_basic.py
Normal file
15
tests/test_basic.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Created on Sun May 14 13:48:42 2023
|
||||
|
||||
@author: Edward Middleton-Smith
|
||||
Company: Precision And Research Technology Systems Limited
|
||||
|
||||
Project: Braille Model Generator
|
||||
|
||||
Feature: basic unit test procedure
|
||||
"""
|
||||
|
||||
from .context import model_gen
|
||||
|
||||
model_gen.main.generate(7, 'A')
|
||||
Reference in New Issue
Block a user