2017-12-08 10:49:38 +00:00
|
|
|
- nom: mon assiette
|
|
|
|
format: €
|
|
|
|
|
2017-12-08 13:52:40 +00:00
|
|
|
- test: Multiplication simple
|
2017-12-08 10:49:38 +00:00
|
|
|
formule:
|
|
|
|
multiplication:
|
|
|
|
assiette: mon assiette
|
|
|
|
taux: 3%
|
|
|
|
|
|
|
|
exemples:
|
|
|
|
- nom: entier
|
|
|
|
situation:
|
|
|
|
mon assiette: 100
|
|
|
|
valeur attendue: 3
|
|
|
|
- nom: flottant
|
|
|
|
situation:
|
|
|
|
mon assiette: 333.33
|
|
|
|
valeur attendue: 9.999
|
|
|
|
|
2017-12-08 13:52:40 +00:00
|
|
|
- test: Multiplication à taux flottant
|
2017-12-08 10:49:38 +00:00
|
|
|
formule:
|
|
|
|
multiplication:
|
|
|
|
assiette: 300
|
|
|
|
taux: 3.3%
|
|
|
|
exemples:
|
|
|
|
- nom:
|
|
|
|
situation:
|
|
|
|
valeur attendue: 9.9
|
|
|
|
|
|
|
|
|
|
|
|
- nom: mon plafond
|
|
|
|
format: €
|
|
|
|
|
2017-12-08 13:52:40 +00:00
|
|
|
- test: Multiplication plafonnée
|
2017-12-08 10:49:38 +00:00
|
|
|
formule:
|
|
|
|
multiplication:
|
|
|
|
assiette: mon assiette
|
|
|
|
taux: 3%
|
|
|
|
plafond: mon plafond
|
|
|
|
|
|
|
|
exemples:
|
|
|
|
- nom: plafond non atteint
|
|
|
|
situation:
|
|
|
|
mon assiette: 100
|
|
|
|
mon plafond: 200
|
|
|
|
valeur attendue: 3
|
|
|
|
- nom: plafond atteint
|
|
|
|
situation:
|
|
|
|
mon assiette: 100
|
|
|
|
mon plafond: 50
|
|
|
|
valeur attendue: 1.5
|
|
|
|
|
|
|
|
- nom: mon facteur
|
|
|
|
format: nombre
|
|
|
|
|
2017-12-08 13:52:40 +00:00
|
|
|
- test: Multiplication à facteur
|
2017-12-08 10:49:38 +00:00
|
|
|
formule:
|
|
|
|
multiplication:
|
|
|
|
assiette: 100
|
|
|
|
facteur: mon facteur
|
|
|
|
|
|
|
|
exemples:
|
|
|
|
- nom:
|
|
|
|
situation:
|
|
|
|
mon facteur: 3
|
|
|
|
valeur attendue: 300
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-12-08 13:52:40 +00:00
|
|
|
- test: Multiplication complète
|
2017-12-08 10:49:38 +00:00
|
|
|
formule:
|
|
|
|
multiplication:
|
|
|
|
assiette: mon assiette
|
|
|
|
facteur: mon facteur
|
|
|
|
plafond: mon plafond
|
|
|
|
taux: 0.5%
|
|
|
|
|
|
|
|
exemples:
|
|
|
|
- nom:
|
|
|
|
situation:
|
|
|
|
mon assiette: 200
|
|
|
|
mon facteur: 2
|
|
|
|
mon plafond: 100
|
|
|
|
valeur attendue: 1
|
|
|
|
|
|
|
|
|
2019-02-14 17:00:31 +00:00
|
|
|
# This should work, but with the use of objectShape & co, the short circuits are not performed
|
|
|
|
- test: Multiplication complète
|
|
|
|
formule:
|
|
|
|
multiplication:
|
|
|
|
assiette: mon assiette
|
|
|
|
facteur: mon facteur
|
|
|
|
plafond: mon plafond
|
|
|
|
taux: 0.5%
|
|
|
|
|
|
|
|
exemples:
|
|
|
|
- nom: Assiette manquante
|
|
|
|
situation:
|
|
|
|
mon facteur: 0
|
|
|
|
mon plafond: 100
|
|
|
|
valeur attendue: 0
|
|
|
|
variables manquantes: []
|
|
|
|
|
|
|
|
|