testgenie-py 0.2.4__py3-none-any.whl → 0.2.6__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.
Files changed (44) hide show
  1. testgen/controller/docker_controller.py +8 -11
  2. {testgenie_py-0.2.4.dist-info → testgenie_py-0.2.6.dist-info}/METADATA +1 -1
  3. {testgenie_py-0.2.4.dist-info → testgenie_py-0.2.6.dist-info}/RECORD +5 -44
  4. testgen/.coverage +0 -0
  5. testgen/code_to_test/__init__.py +0 -0
  6. testgen/code_to_test/boolean.py +0 -146
  7. testgen/code_to_test/calculator.py +0 -29
  8. testgen/code_to_test/code_to_fuzz.py +0 -234
  9. testgen/code_to_test/code_to_fuzz_lite.py +0 -397
  10. testgen/code_to_test/decisions.py +0 -57
  11. testgen/code_to_test/math_utils.py +0 -47
  12. testgen/code_to_test/sample_code_bin.py +0 -141
  13. testgen/tests/__init__.py +0 -0
  14. testgen/tests/test_boolean.py +0 -81
  15. testgen/tests/test_generated_boolean.py +0 -83
  16. testgen/visualize/boolean_bin_and_coverage.png +0 -0
  17. testgen/visualize/boolean_bin_and_coverage_v1.png +0 -0
  18. testgen/visualize/boolean_bin_and_coverage_v2.png +0 -0
  19. testgen/visualize/boolean_bin_and_coverage_v3.png +0 -0
  20. testgen/visualize/boolean_bin_and_coverage_v4.png +0 -0
  21. testgen/visualize/boolean_bin_and_coverage_v5.png +0 -0
  22. testgen/visualize/boolean_bin_and_coverage_v6.png +0 -0
  23. testgen/visualize/boolean_bin_and_coverage_v7.png +0 -0
  24. testgen/visualize/boolean_bin_and_coverage_v8.png +0 -0
  25. testgen/visualize/boolean_bin_xor_coverage.png +0 -0
  26. testgen/visualize/boolean_bin_xor_coverage_v1.png +0 -0
  27. testgen/visualize/boolean_bin_xor_coverage_v2.png +0 -0
  28. testgen/visualize/boolean_bin_xor_coverage_v3.png +0 -0
  29. testgen/visualize/boolean_bin_xor_coverage_v4.png +0 -0
  30. testgen/visualize/boolean_bin_xor_coverage_v5.png +0 -0
  31. testgen/visualize/boolean_bin_xor_coverage_v6.png +0 -0
  32. testgen/visualize/boolean_bin_xor_coverage_v7.png +0 -0
  33. testgen/visualize/boolean_bin_xor_coverage_v8.png +0 -0
  34. testgen/visualize/boolean_status_flags_coverage.png +0 -0
  35. testgen/visualize/boolean_status_flags_coverage_v1.png +0 -0
  36. testgen/visualize/boolean_status_flags_coverage_v2.png +0 -0
  37. testgen/visualize/boolean_status_flags_coverage_v3.png +0 -0
  38. testgen/visualize/boolean_status_flags_coverage_v4.png +0 -0
  39. testgen/visualize/boolean_status_flags_coverage_v5.png +0 -0
  40. testgen/visualize/boolean_status_flags_coverage_v6.png +0 -0
  41. testgen/visualize/boolean_status_flags_coverage_v7.png +0 -0
  42. testgen/visualize/boolean_status_flags_coverage_v8.png +0 -0
  43. {testgenie_py-0.2.4.dist-info → testgenie_py-0.2.6.dist-info}/WHEEL +0 -0
  44. {testgenie_py-0.2.4.dist-info → testgenie_py-0.2.6.dist-info}/entry_points.txt +0 -0
@@ -1,81 +0,0 @@
1
- import pytest
2
-
3
- import testgen.code_to_test.boolean as boolean
4
-
5
- def test_bin_and_0():
6
- args = (False, False)
7
- expected = False
8
- result = boolean.bin_and(*args)
9
- assert result == expected
10
-
11
- def test_bin_and_1():
12
- args = (True, True)
13
- expected = True
14
- result = boolean.bin_and(*args)
15
- assert result == expected
16
-
17
- def test_bin_and_2():
18
- args = (True, False)
19
- expected = False
20
- result = boolean.bin_and(*args)
21
- assert result == expected
22
-
23
- def test_bin_xor_3():
24
- args = (False, True)
25
- expected = True
26
- result = boolean.bin_xor(*args)
27
- assert result == expected
28
-
29
- def test_bin_xor_4():
30
- args = (False, False)
31
- expected = False
32
- result = boolean.bin_xor(*args)
33
- assert result == expected
34
-
35
- def test_bin_xor_5():
36
- args = (True, True)
37
- expected = False
38
- result = boolean.bin_xor(*args)
39
- assert result == expected
40
-
41
- def test_bin_xor_6():
42
- args = (True, False)
43
- expected = True
44
- result = boolean.bin_xor(*args)
45
- assert result == expected
46
-
47
- def test_status_flags_7():
48
- args = (True, False, True)
49
- expected = 'admin-unverified'
50
- result = boolean.status_flags(*args)
51
- assert result == expected
52
-
53
- def test_status_flags_8():
54
- args = (True, True, False)
55
- expected = 'user-verified'
56
- result = boolean.status_flags(*args)
57
- assert result == expected
58
-
59
- def test_status_flags_9():
60
- args = (False, True, True)
61
- expected = 'admin-verified'
62
- result = boolean.status_flags(*args)
63
- assert result == expected
64
-
65
- def test_status_flags_10():
66
- args = (True, True, True)
67
- expected = 'admin-verified'
68
- result = boolean.status_flags(*args)
69
- assert result == expected
70
-
71
- def test_status_flags_11():
72
- args = (True, False, False)
73
- expected = 'user-unverified'
74
- result = boolean.status_flags(*args)
75
- assert result == expected
76
-
77
- def test_status_flags_12():
78
- args = (False, True, False)
79
- expected = 'inactive'
80
- result = boolean.status_flags(*args)
81
- assert result == expected
@@ -1,83 +0,0 @@
1
- import unittest
2
-
3
- import testgen.generated_boolean as generated_boolean
4
-
5
- class TestNone(unittest.TestCase):
6
-
7
- def test_bin_and_0(self):
8
- args = (True, True)
9
- expected = True
10
- result = generated_boolean.bin_and(*args)
11
- self.assertEqual(result, expected)
12
-
13
- def test_bin_and_1(self):
14
- args = (True, False)
15
- expected = False
16
- result = generated_boolean.bin_and(*args)
17
- self.assertEqual(result, expected)
18
-
19
- def test_bin_and_2(self):
20
- args = (False, True)
21
- expected = False
22
- result = generated_boolean.bin_and(*args)
23
- self.assertEqual(result, expected)
24
-
25
- def test_bin_xor_3(self):
26
- args = (True, True)
27
- expected = False
28
- result = generated_boolean.bin_xor(*args)
29
- self.assertEqual(result, expected)
30
-
31
- def test_bin_xor_4(self):
32
- args = (True, False)
33
- expected = True
34
- result = generated_boolean.bin_xor(*args)
35
- self.assertEqual(result, expected)
36
-
37
- def test_bin_xor_5(self):
38
- args = (False, True)
39
- expected = True
40
- result = generated_boolean.bin_xor(*args)
41
- self.assertEqual(result, expected)
42
-
43
- def test_status_flags_6(self):
44
- args = (True, True, True)
45
- expected = 'admin-verified'
46
- result = generated_boolean.status_flags(*args)
47
- self.assertEqual(result, expected)
48
-
49
- def test_status_flags_7(self):
50
- args = (True, True, False)
51
- expected = 'user-verified'
52
- result = generated_boolean.status_flags(*args)
53
- self.assertEqual(result, expected)
54
-
55
- def test_status_flags_8(self):
56
- args = (True, False, True)
57
- expected = 'admin-unverified'
58
- result = generated_boolean.status_flags(*args)
59
- self.assertEqual(result, expected)
60
-
61
- def test_status_flags_9(self):
62
- args = (True, False, False)
63
- expected = 'user-unverified'
64
- result = generated_boolean.status_flags(*args)
65
- self.assertEqual(result, expected)
66
-
67
- def test_status_flags_10(self):
68
- args = (False, True, True)
69
- expected = 'admin-verified'
70
- result = generated_boolean.status_flags(*args)
71
- self.assertEqual(result, expected)
72
-
73
- def test_status_flags_11(self):
74
- args = (False, True, False)
75
- expected = 'inactive'
76
- result = generated_boolean.status_flags(*args)
77
- self.assertEqual(result, expected)
78
-
79
- def test_status_flags_12(self):
80
- args = (False, False, True)
81
- expected = 'admin-unverified'
82
- result = generated_boolean.status_flags(*args)
83
- self.assertEqual(result, expected)