kececinumbers 0.6.6__py3-none-any.whl → 0.6.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kececinumbers/__init__.py +175 -6
- kececinumbers/_version.py +1 -1
- kececinumbers/kececinumbers.py +2393 -717
- {kececinumbers-0.6.6.dist-info → kececinumbers-0.6.8.dist-info}/METADATA +1 -1
- kececinumbers-0.6.8.dist-info/RECORD +10 -0
- tests/test_sample.py +17 -18
- kececinumbers-0.6.6.dist-info/RECORD +0 -10
- {kececinumbers-0.6.6.dist-info → kececinumbers-0.6.8.dist-info}/WHEEL +0 -0
- {kececinumbers-0.6.6.dist-info → kececinumbers-0.6.8.dist-info}/licenses/LICENSE +0 -0
- {kececinumbers-0.6.6.dist-info → kececinumbers-0.6.8.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
docs/conf.py,sha256=jkpH_TchRJcC_EspKeY1E_rml2ODmIWhWoqvyCPu_ok,1116
|
2
|
+
kececinumbers/__init__.py,sha256=4bsoC1-VftHH6p9ZP21HTlmvOjqxV3HlFsovoHPXCis,8399
|
3
|
+
kececinumbers/_version.py,sha256=fqu2lHgewipDERoAgq-2zYXbVPijC9JsV1p3Xuw5oSI,453
|
4
|
+
kececinumbers/kececinumbers.py,sha256=5rITANhxL8poHTu4beOvhLaBPXEDSHDIOo_d6-mWUcE,125127
|
5
|
+
kececinumbers-0.6.8.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
|
6
|
+
tests/test_sample.py,sha256=vwGbEZ6gcEFq60P5Sqrnc_DVw2QFXOSU1vm3GyzQMnc,9628
|
7
|
+
kececinumbers-0.6.8.dist-info/METADATA,sha256=Cz8Lp7D871IDV_m_edM1XdHtOfHvg8dJ3zQuZvxU9JU,34047
|
8
|
+
kececinumbers-0.6.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
+
kececinumbers-0.6.8.dist-info/top_level.txt,sha256=ABQEKRH9iYb4sWnFdx7gIx7Hg899YktRkQpbRlSSqwU,25
|
10
|
+
kececinumbers-0.6.8.dist-info/RECORD,,
|
tests/test_sample.py
CHANGED
@@ -50,7 +50,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
50
50
|
seq = unified_generator(
|
51
51
|
kececi_type=TYPE_POSITIVE_REAL,
|
52
52
|
start_input_raw="5",
|
53
|
-
|
53
|
+
add_input_raw=3.0,
|
54
54
|
iterations=self.iterations
|
55
55
|
)
|
56
56
|
self.assertTrue(len(seq) > 0)
|
@@ -62,7 +62,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
62
62
|
seq = unified_generator(
|
63
63
|
kececi_type=TYPE_NEGATIVE_REAL,
|
64
64
|
start_input_raw="-7",
|
65
|
-
|
65
|
+
add_input_raw=2.0,
|
66
66
|
iterations=self.iterations
|
67
67
|
)
|
68
68
|
self.assertTrue(len(seq) > 0)
|
@@ -74,7 +74,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
74
74
|
seq = unified_generator(
|
75
75
|
kececi_type=TYPE_FLOAT,
|
76
76
|
start_input_raw="3.14",
|
77
|
-
|
77
|
+
add_input_raw=1.5,
|
78
78
|
iterations=self.iterations
|
79
79
|
)
|
80
80
|
self.assertTrue(len(seq) > 0)
|
@@ -85,7 +85,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
85
85
|
seq = unified_generator(
|
86
86
|
kececi_type=TYPE_COMPLEX,
|
87
87
|
start_input_raw="2+3j",
|
88
|
-
|
88
|
+
add_input_raw=1.0,
|
89
89
|
iterations=self.iterations
|
90
90
|
)
|
91
91
|
self.assertTrue(len(seq) > 0)
|
@@ -98,7 +98,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
98
98
|
seq = unified_generator(
|
99
99
|
kececi_type=TYPE_RATIONAL,
|
100
100
|
start_input_raw="7/3",
|
101
|
-
|
101
|
+
add_input_raw=2.0,
|
102
102
|
iterations=self.iterations
|
103
103
|
)
|
104
104
|
self.assertTrue(len(seq) > 0)
|
@@ -110,8 +110,8 @@ class TestKececiNumbers(unittest.TestCase):
|
|
110
110
|
"""Test sequence generation for quaternions."""
|
111
111
|
seq = unified_generator(
|
112
112
|
kececi_type=TYPE_QUATERNION,
|
113
|
-
start_input_raw="1
|
114
|
-
|
113
|
+
start_input_raw="1.0,2.0,3.0,4.0",
|
114
|
+
add_input_raw="1.0,0,0,0",
|
115
115
|
iterations=self.iterations
|
116
116
|
)
|
117
117
|
self.assertTrue(len(seq) > 0)
|
@@ -120,15 +120,15 @@ class TestKececiNumbers(unittest.TestCase):
|
|
120
120
|
q = seq[0]
|
121
121
|
self.assertAlmostEqual(q.w, 1.0)
|
122
122
|
self.assertAlmostEqual(q.x, 2.0)
|
123
|
-
self.assertAlmostEqual(q.y,
|
124
|
-
self.assertAlmostEqual(q.z,
|
123
|
+
self.assertAlmostEqual(q.y, 3.0)
|
124
|
+
self.assertAlmostEqual(q.z, 4.0)
|
125
125
|
|
126
126
|
def test_neutrosophic_generation(self):
|
127
127
|
"""Test sequence generation for neutrosophic numbers."""
|
128
128
|
seq = unified_generator(
|
129
129
|
kececi_type=TYPE_NEUTROSOPHIC,
|
130
130
|
start_input_raw="5+2I",
|
131
|
-
|
131
|
+
add_input_raw=1.0,
|
132
132
|
iterations=self.iterations
|
133
133
|
)
|
134
134
|
self.assertTrue(len(seq) > 0)
|
@@ -141,7 +141,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
141
141
|
seq = unified_generator(
|
142
142
|
kececi_type=TYPE_NEUTROSOPHIC_COMPLEX,
|
143
143
|
start_input_raw="1-2j",
|
144
|
-
|
144
|
+
add_input_raw=1.0,
|
145
145
|
iterations=self.iterations
|
146
146
|
)
|
147
147
|
self.assertTrue(len(seq) > 0)
|
@@ -155,7 +155,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
155
155
|
seq = unified_generator(
|
156
156
|
kececi_type=TYPE_HYPERREAL,
|
157
157
|
start_input_raw="5+3e",
|
158
|
-
|
158
|
+
add_input_raw=1.0,
|
159
159
|
iterations=self.iterations
|
160
160
|
)
|
161
161
|
self.assertTrue(len(seq) > 0)
|
@@ -167,7 +167,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
167
167
|
seq = unified_generator(
|
168
168
|
kececi_type=TYPE_BICOMPLEX,
|
169
169
|
start_input_raw="2+1j",
|
170
|
-
|
170
|
+
add_input_raw=1.0,
|
171
171
|
iterations=self.iterations
|
172
172
|
)
|
173
173
|
self.assertTrue(len(seq) > 0)
|
@@ -181,7 +181,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
181
181
|
seq = unified_generator(
|
182
182
|
kececi_type=TYPE_NEUTROSOPHIC_BICOMPLEX,
|
183
183
|
start_input_raw="1+2j",
|
184
|
-
|
184
|
+
add_input_raw=1.0,
|
185
185
|
iterations=self.iterations
|
186
186
|
)
|
187
187
|
self.assertTrue(len(seq) > 0)
|
@@ -249,7 +249,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
249
249
|
seq = unified_generator(
|
250
250
|
kececi_type=TYPE_POSITIVE_REAL,
|
251
251
|
start_input_raw="10",
|
252
|
-
|
252
|
+
add_input_raw=2.0,
|
253
253
|
iterations=5
|
254
254
|
)
|
255
255
|
self.assertGreater(len(seq), 5)
|
@@ -262,7 +262,7 @@ class TestKececiNumbers(unittest.TestCase):
|
|
262
262
|
seq = unified_generator(
|
263
263
|
kececi_type=TYPE_FLOAT,
|
264
264
|
start_input_raw="", # empty
|
265
|
-
|
265
|
+
add_input_raw=1.0,
|
266
266
|
iterations=1
|
267
267
|
)
|
268
268
|
self.assertEqual(len(seq), 0) # should fail gracefully
|
@@ -273,11 +273,10 @@ class TestKececiNumbers(unittest.TestCase):
|
|
273
273
|
unified_generator(
|
274
274
|
kececi_type=99, # invalid
|
275
275
|
start_input_raw="0",
|
276
|
-
|
276
|
+
add_input_raw=1.0,
|
277
277
|
iterations=1
|
278
278
|
)
|
279
279
|
|
280
280
|
|
281
281
|
if __name__ == '__main__':
|
282
282
|
unittest.main()
|
283
|
-
|
@@ -1,10 +0,0 @@
|
|
1
|
-
docs/conf.py,sha256=jkpH_TchRJcC_EspKeY1E_rml2ODmIWhWoqvyCPu_ok,1116
|
2
|
-
kececinumbers/__init__.py,sha256=3PmycZDlbfLbEFV8p3mxLr-_5jdRY1NUf6OYvNJTVrk,4225
|
3
|
-
kececinumbers/_version.py,sha256=zQ8KFNeQFvKEDdd8PvxTupP2udoIHt1kUD-v03BQNqw,453
|
4
|
-
kececinumbers/kececinumbers.py,sha256=n7o4NDZlzneIfCTa9j-aXQTX5f_8OpQfMlWprgmnPdk,59763
|
5
|
-
kececinumbers-0.6.6.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
|
6
|
-
tests/test_sample.py,sha256=qMWUBGQtlF1gZHZ_e6Gye1vHtyNnUWH7iXK72a1y6VQ,9728
|
7
|
-
kececinumbers-0.6.6.dist-info/METADATA,sha256=QJ8KyQDe-TTxHi9sRLG4mn3zByHrB5zMuvSBZ0U1chs,34047
|
8
|
-
kececinumbers-0.6.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
-
kececinumbers-0.6.6.dist-info/top_level.txt,sha256=ABQEKRH9iYb4sWnFdx7gIx7Hg899YktRkQpbRlSSqwU,25
|
10
|
-
kececinumbers-0.6.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|