Hong-Phuc Bui
2 days ago f227092d01c2b5c9e326642deba92e651c8d9d69
use flatt directory structure
1 files modified
4 files renamed
7 files deleted
1 files added
29 ■■■■■ changed files
stundenplan/.gitignore 4 ●●●● patch | view | raw | blame | history
stundenplan/Readme.md 4 ●●●● patch | view | raw | blame | history
stundenplan/src/graphdemo.py patch | view | raw | blame | history
stundenplan/src/graphdemo_tests.py 2 ●●● patch | view | raw | blame | history
stundenplan/src/pygraph/__init__.py patch | view | raw | blame | history
stundenplan/src/shortestpath.py 2 ●●● patch | view | raw | blame | history
stundenplan/src/shortestpath_tests.py 4 ●●●● patch | view | raw | blame | history
stundenplan/src/stundenplan.egg-info/PKG-INFO 3 ●●●●● patch | view | raw | blame | history
stundenplan/src/stundenplan.egg-info/SOURCES.txt 8 ●●●●● patch | view | raw | blame | history
stundenplan/src/stundenplan.egg-info/dependency_links.txt 1 ●●●● patch | view | raw | blame | history
stundenplan/src/stundenplan.egg-info/top_level.txt 1 ●●●● patch | view | raw | blame | history
stundenplan/tests/__init__.py patch | view | raw | blame | history
stundenplan/tests/pygraph/__init__.py patch | view | raw | blame | history
stundenplan/.gitignore
New file
@@ -0,0 +1,4 @@
*.venv*
__pycache__/
.idea/
*.egg-info/
stundenplan/Readme.md
@@ -2,7 +2,7 @@
## Installation
Installation das Projekt auf einem virtuellen Python-Umgebung:
Installation das Projekt auf einer virtuellen Python-Umgebung:
````shell
pip install -e .
@@ -11,7 +11,7 @@
## Run Unittest
```shell
python3 -m unittest discover --pattern *tests.py
pytest *_tests.py
```
## Run programm
stundenplan/src/graphdemo.py
stundenplan/src/graphdemo_tests.py
File was renamed from stundenplan/tests/pygraph/graphdemo_tests.py
@@ -1,6 +1,6 @@
import unittest
from pygraph.graphdemo import Graph
from graphdemo import Graph
class GraphTestCase(unittest.TestCase):
stundenplan/src/pygraph/__init__.py
stundenplan/src/shortestpath.py
File was renamed from stundenplan/src/pygraph/shortestpath.py
@@ -1,7 +1,7 @@
import collections
from typing import Mapping
from pygraph.graphdemo import Graph
from graphdemo import Graph
def bfs(g: Graph, start: int) -> Graph:
stundenplan/src/shortestpath_tests.py
File was renamed from stundenplan/tests/pygraph/shortestpath_tests.py
@@ -1,7 +1,7 @@
import unittest
from pygraph.graphdemo import Graph
from pygraph.shortestpath import bfs, bfs_dict, find_path, find_path_gpt
from graphdemo import Graph
from shortestpath import bfs, bfs_dict, find_path, find_path_gpt
class ShortestPathTestCase(unittest.TestCase):
stundenplan/src/stundenplan.egg-info/PKG-INFO
File was deleted
stundenplan/src/stundenplan.egg-info/SOURCES.txt
File was deleted
stundenplan/src/stundenplan.egg-info/dependency_links.txt
File was deleted
stundenplan/src/stundenplan.egg-info/top_level.txt
File was deleted
stundenplan/tests/__init__.py
stundenplan/tests/pygraph/__init__.py