-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_base_paragraph01.py
More file actions
36 lines (20 loc) · 874 Bytes
/
Copy pathtest_base_paragraph01.py
File metadata and controls
36 lines (20 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#coding: utf-8
# This file is part of https://github.com/marcus67/rechtschreibung
import unittest
import rulesets
import paragraph01
class TestParagraph01(unittest.TestCase):
def setUp(self):
rulesets.set_default_mode(rulesets.spelling_mode().combination)
def test_sentence01(self):
self.assertEqual(paragraph01.sentence001(), paragraph01.sentence001_content)
def test_sentence02(self):
self.assertEqual(paragraph01.sentence002(), paragraph01.sentence002_content)
def test_sentence03(self):
self.assertEqual(paragraph01.sentence003(), paragraph01.sentence003_content)
def test_sentence04(self):
self.assertEqual(paragraph01.sentence004(), paragraph01.sentence004_content)
def test_sentence05(self):
self.assertEqual(paragraph01.sentence005(), paragraph01.sentence005_content)
if __name__ == '__main__':
unittest.main()