-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_base_paragraph02.py
39 lines (22 loc) · 984 Bytes
/
test_base_paragraph02.py
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
37
38
39
#coding: utf-8
# This file is part of https://github.com/marcus67/rechtschreibung
import unittest
import rulesets
import paragraph02
class TestParagraph02(unittest.TestCase):
def setUp(self):
rulesets.set_default_mode(rulesets.spelling_mode().combination)
def test_sentence01(self):
self.assertEqual(paragraph02.sentence001(), paragraph02.sentence001_content)
def test_sentence02(self):
self.assertEqual(paragraph02.sentence002(), paragraph02.sentence002_content)
def test_sentence03(self):
self.assertEqual(paragraph02.sentence003(), paragraph02.sentence003_content)
def test_sentence04(self):
self.assertEqual(paragraph02.sentence004(), paragraph02.sentence004_content)
def test_sentence05(self):
self.assertEqual(paragraph02.sentence005(), paragraph02.sentence005_content)
def test_sentence06(self):
self.assertEqual(paragraph02.sentence006(), paragraph02.sentence006_content)
if __name__ == '__main__':
unittest.main()