dashboard
repositories
filestore
activity
search
login
python-kurs
/
python-master-2025
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
unittest mit snapshot
Hong-Phuc Bui
2026-07-06
a45bdced8968f14a0f70c3adb15030d4682c0b04
[python-kurs/python-master-2025.git]
/
06-bezier-kurve
/
bezier_test.py
1
2
3
4
5
6
7
from bezier import make_cubic_bezier
def test_make_cubic_bezier(snapshot):
control_points = [(0, 0), (1,1) , (3,-1) , (4, 0)]
bezier_kurve = make_cubic_bezier(control_points)
assert bezier_kurve == snapshot