Fully implement the vote #8

Merged
faraphel merged 10 commits from base into main 2024-07-05 11:09:12 +02:00
2 changed files with 38 additions and 1 deletions
Showing only changes of commit 096fc6637e - Show all commits

37
tests/exemple1.ipynb Normal file
View file

@ -0,0 +1,37 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "initial_id",
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
""
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

View file

@ -12,7 +12,7 @@ Alice_card = Card("Alice", 6060)
Machine = Machine()
Machine.authenticate(Alice_card, 6060, azerty)
Machine.authenticate(Alice_card, 6060, "azerty")
Machine.vote(Alice_card)