diff options
author | Michal 'vorner' Vaner <vorner@vorner.cz> | 2019-08-05 18:38:12 +0200 |
---|---|---|
committer | Michal 'vorner' Vaner <vorner@vorner.cz> | 2019-08-22 20:35:28 +0200 |
commit | 0b6556eacaf8f16312487594a0888bfe79723748 (patch) | |
tree | 96afc714a1713154f4c7aa17cc147088497a2811 /tests/Settings.toml | |
parent | ad29f8f83566366671e6affd3887079d7165f5f9 (diff) |
Allow arbitrary types of map keys
Of particular interest are maps that have numbers or enums as keys.
Closes #74.
Diffstat (limited to 'tests/Settings.toml')
-rw-r--r-- | tests/Settings.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Settings.toml b/tests/Settings.toml index 26e6d26..bafb319 100644 --- a/tests/Settings.toml +++ b/tests/Settings.toml @@ -9,6 +9,7 @@ code = 53 boolean_s_parse = "fals" arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] +quarks = ["up", "down", "strange", "charm", "bottom", "top"] [diodes] green = "off" @@ -40,3 +41,13 @@ rating = 4.5 [place.creator] name = "John Smith" + +[proton] +up = 2 +down = 1 + +[divisors] +1 = 1 +2 = 2 +4 = 3 +5 = 2 |