Skip to content

Commit

Permalink
Merge pull request #1058 from MetPX/ute_config
Browse files Browse the repository at this point in the history
Unit Test Engineering of the sarracenia/config.py module.
  • Loading branch information
petersilva authored May 21, 2024
2 parents 67fd4b8 + dcb7f25 commit 322da62
Show file tree
Hide file tree
Showing 7 changed files with 884 additions and 240 deletions.
7 changes: 4 additions & 3 deletions docs/source/Reference/sr3_options.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ OPTION TYPES

sr3 options come in several types:

count
integer count type.
count, size
integer count type. same as size described below.

duration
a floating point number indicating a quantity of seconds (0.001 is 1 milisecond)
Expand All @@ -249,9 +249,10 @@ set

size
integer size. Suffixes k, m, and g for kilo, mega, and giga (base 2) multipliers.
alone base 10: 1k=1000, with a 'b' suffix, base 2: 1kb=1024

str
an string value
a string value


OPTIONS
Expand Down
5 changes: 3 additions & 2 deletions docs/source/fr/Reference/sr3_options.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ TYPES D'OPTIONS
Les options de sr3 ont plusieurs types :

count
type de nombre entier.
type de nombre entier. Même format que *size* détaillé plus bas.

duration
un nombre à virgule flottante qui indique une quantité en secondes (0.001 est 1 milliseconde)
Expand All @@ -246,7 +246,8 @@ set
un assortissement de chaîne de caractères, chaque occurrence successive s'unionise au total.

size
taille entière. Suffixes k, m et g pour les multiplicateurs kilo, méga et giga (base 2).
taille entière. Suffixes k, m et g pour les multiplicateurs kilo, méga et giga (base 10).
si on rajoute ´b' ... c´est base 2 : 1k=1000, 1kb=1024

str
une chaîne de caractères.
Expand Down
Loading

0 comments on commit 322da62

Please sign in to comment.