... | ... | @@ -58,12 +58,12 @@ Il y a des [annotations de bloc de code](#) afin de décrire ce qui devra être |
|
|
|
|
|
Différentes annotations sont disponibles :
|
|
|
|
|
|
- [file](#file)
|
|
|
- [start](#start)
|
|
|
- [end](#end)
|
|
|
- [add](#add)
|
|
|
- [description](#description)
|
|
|
- [priority](#priority)
|
|
|
- [file](#-file)
|
|
|
- [start](#-start)
|
|
|
- [end](#-end)
|
|
|
- [add](#-add)
|
|
|
- [description](#-description)
|
|
|
- [priority](#-priority)
|
|
|
|
|
|
##### ● file
|
|
|
|
... | ... | @@ -107,7 +107,7 @@ _Exemple :_ |
|
|
|
|
|
**Attention : ** Il faudra obligatoirement commencer un bloc avant cette annotation à l'aide de l'annotation [start](#start)
|
|
|
|
|
|
##### add
|
|
|
##### ● add
|
|
|
|
|
|
Cette annotation permet d'ajouter du code à un bloc de code à la version que l'étudiant recevra.
|
|
|
|
... | ... | @@ -127,7 +127,7 @@ _Exemple :_ |
|
|
|
|
|
__Attention :__ Les espaces avant et après l'annotation sont pris en compte hormis le premier espace après l'annotation _add_.
|
|
|
|
|
|
##### description
|
|
|
##### ● description
|
|
|
|
|
|
Cette annotation permet d'ajouter une description à un bloc de code.
|
|
|
|
... | ... | @@ -142,7 +142,7 @@ _Exemple :_ |
|
|
|
|
|
# @u:end mon_bloc
|
|
|
|
|
|
##### priority
|
|
|
##### ● priority
|
|
|
|
|
|
Cette annotation permet d'ajouter une priorité à un bloc de code.
|
|
|
|
... | ... | @@ -162,12 +162,12 @@ _Exemple :_ |
|
|
|
|
|
Différents indicateurs sont disponibles :
|
|
|
|
|
|
- [CharactersNumber](#charactersnumber)
|
|
|
- [Keywords et keywords](#keywords-et-keywords)
|
|
|
- [Keyword et keyword](#keyword-et-keyword)
|
|
|
- [KeywordsNotIn et keywordsNotIn](#keywordsnotin-et-keywordsnotin)
|
|
|
- [KeywordNotIn et keywordNotIn](#keywordnotin-et-keywordnotin)
|
|
|
- [File](#file-1)
|
|
|
- [CharactersNumber](#-charactersnumber)
|
|
|
- [Keywords et keywords](#-keywords-et-keywords)
|
|
|
- [Keyword et keyword](#-keyword-et-keyword)
|
|
|
- [KeywordsNotIn et keywordsNotIn](#-keywordsnotin-et-keywordsnotin)
|
|
|
- [KeywordNotIn et keywordNotIn](#-keywordnotin-et-keywordnotin)
|
|
|
- [File](#-file-1)
|
|
|
|
|
|
De plus, il est possible de rajouter un coeficient aux indicateurs en ajoutant, à la suite du nom d'un indicateur, ":" et un valeur entière. Par défaut, la valeur du coeficient est de 1.
|
|
|
|
... | ... | @@ -175,7 +175,7 @@ _Exemple avec l'indicateur CharactersNumber de coeficient 5 :_ |
|
|
|
|
|
# @u:Indicateur:5
|
|
|
|
|
|
##### CharactersNumber
|
|
|
##### ● CharactersNumber
|
|
|
|
|
|
Cette annotation ajoute un indicateur comparant le nombre de caractère de la solution avec le code de l'étudiant.
|
|
|
|
... | ... | @@ -188,7 +188,7 @@ _Exemple :_ |
|
|
|
|
|
# @u:end mon_bloc
|
|
|
|
|
|
##### Keywords et keywords
|
|
|
##### ● Keywords et keywords
|
|
|
|
|
|
Cette annotation ajoute un indicateur vérifiant la présence de mot-clés séparés par des espaces. *Keywords* est sensible à la casse tandis que *keywords* n'est pas sensible à la casse.
|
|
|
|
... | ... | @@ -206,7 +206,7 @@ _Exemple :_ |
|
|
|
|
|
# @u:end mon_bloc
|
|
|
|
|
|
##### Keyword et keyword
|
|
|
##### ● Keyword et keyword
|
|
|
|
|
|
Cette annotation ajoute un indicateur vérifiant la présence d'un mot-clé. *Keyword* est sensible à la casse tandis que *keyword* n'est pas sensible à la casse.
|
|
|
|
... | ... | @@ -222,7 +222,7 @@ _Exemple :_ |
|
|
|
|
|
# @u:end mon_bloc
|
|
|
|
|
|
##### KeywordsNotIn et keywordsNotIn
|
|
|
##### ● KeywordsNotIn et keywordsNotIn
|
|
|
|
|
|
Cette annotation ajoute un indicateur vérifiant la non présence de mot-clés séparés par des espaces. *Keywords* est sensible à la casse tandis que *keywords* n'est pas sensible à la casse.
|
|
|
|
... | ... | @@ -240,7 +240,7 @@ _Exemple :_ |
|
|
|
|
|
# @u:end mon_bloc
|
|
|
|
|
|
##### KeywordNotIn et keywordNotIn
|
|
|
##### ● KeywordNotIn et keywordNotIn
|
|
|
|
|
|
Cette annotation ajoute un indicateur vérifiant la non présence d'un mot-clé. *Keyword* est sensible à la casse tandis que *keyword* n'est pas sensible à la casse.
|
|
|
|
... | ... | @@ -256,7 +256,7 @@ _Exemple :_ |
|
|
|
|
|
# @u:end mon_bloc
|
|
|
|
|
|
##### File
|
|
|
##### ● File
|
|
|
|
|
|
Cette annotation ajoute un indicateur vérifiant la présence du fichier ou du bloc.
|
|
|
|
... | ... | |