ToruNiina
5c5b1320d0
test: add test for map/vector methods
2020-01-16 20:58:36 +09:00
ToruNiina
0c084b3a5c
test: add test: accessing via bracket operator
2019-12-10 00:08:40 +09:00
ToruNiina
babb6ab3fe
test: add test case for basic_value::at
2019-09-28 16:22:01 +09:00
ToruNiina
90918b6d76
test: add basic_value type to serialization tests
2019-06-21 16:01:08 +09:00
ToruNiina
4008c24e84
test: add test for init-list-map to value conversion
2019-06-17 22:50:38 +09:00
ToruNiina
6345910c3e
🔀 Merge branch 'master' into v3
2019-06-08 20:05:05 +09:00
ToruNiina
54d46f08c3
🔀 Merge branch 'master' into v3
2019-06-08 19:40:11 +09:00
ToruNiina
d6f3654185
refactor: reduce test code by using CHECK_THROW
2019-06-08 19:23:12 +09:00
ToruNiina
8befe3f1ad
test: add test for throw/nothrow versions of as_*
2019-06-08 19:20:09 +09:00
ToruNiina
897aecf5d4
test: avoid deprecated functions in the test codes
2019-06-07 13:32:02 +09:00
ToruNiina
53efaed179
test: update interfaces of parse_* and value
2019-06-03 22:01:16 +09:00
ToruNiina
296ba060ef
test: update typename from CamelCase to snake_case
2019-06-02 22:11:37 +09:00
ToruNiina
7d34436535
test: update value_t::* names in the test code
2019-06-02 21:36:09 +09:00
ToruNiina
4cbbcd8f62
Merge branch 'master' into as-something
2019-04-27 19:04:44 +09:00
ToruNiina
aa7b9a3965
refactor: rename as_floating -> as_float
...
Actually, since `floating` is used for toml::types, `as_floating`
seems to be clearer. But currently `is_*` functions uses `float`,
not `floating`, so `as_float` is chosen for the consistency.
In a future release, possibly v3, those names may need to be
re-considered for clarity.
2019-04-27 16:45:25 +09:00
ToruNiina
84ac1d10f3
test: add test for toml::value::as_something
2019-04-27 16:22:50 +09:00
ToruNiina
f3bdf083fe
fix: fix typo in test code for string_view
2019-04-26 16:51:23 +09:00
ToruNiina
819351f5a4
test: add test for init toml::value by string_view
2019-04-26 16:32:23 +09:00
ToruNiina
6693ec78f4
test: add test for toml::value::is_something()
2019-03-12 20:44:27 +09:00
ToruNiina
e810c3d35e
add tests for equivalent operator
2018-12-11 23:33:32 +09:00
ToruNiina
e24039f4ef
update toml::value and improve test_value
...
- enable to store new types
- store source string if possible
- refactoring
2018-12-09 18:03:20 +09:00
ToruNiina
a32ccd82f3
fix UB in test_value (use after move)
2018-10-22 19:00:16 +09:00
ToruNiina
c522186d4c
change include file path
2017-04-21 13:15:05 +09:00
ToruNiina
b5c41baef2
add test for initializer_list
2017-04-20 10:48:59 +09:00
ToruNiina
9234a34faa
add test for substitution
2017-04-20 00:13:37 +09:00
ToruNiina
0b13f01668
add test for values
2017-04-20 00:08:41 +09:00
ToruNiina
31f5745454
rename test.cpp to test_value.cpp
2017-04-19 22:48:20 +09:00