/dports/net/arataga/restinio-v.0.6.13/dev/test/from_string/ |
H A D | main.cpp | 22 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 26 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 30 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 34 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 38 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 42 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 46 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 50 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 54 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); 57 REQUIRE_NOTHROW( v = from_string< type_t >( str ) ); [all …]
|
/dports/devel/wf-config/wf-config-0.7.1/test/ |
H A D | types_test.cpp | 19 CHECK(from_string<bool>("1").value()); 27 CHECK(!from_string<bool>("rip")); 28 CHECK(!from_string<bool>("1234")); 29 CHECK(!from_string<bool>("")); 30 CHECK(!from_string<bool>("1h")); 31 CHECK(!from_string<bool>("trueeee")); 47 CHECK(!from_string<int>("1e4")); 48 CHECK(!from_string<int>("")); 66 CHECK(!from_string<double>("")); 110 CHECK(!from_string<color_t>("")); [all …]
|
/dports/devel/py-Jinja2-doc/Jinja2-3.0.1/tests/ |
H A D | test_filters.py | 45 tmpl = env.from_string( 104 tmpl = env.from_string( 123 tmpl = env.from_string( 278 tmpl = env.from_string( 321 tmpl = env.from_string( 330 tmpl = env.from_string( 373 tmpl = env.from_string( 383 tmpl = env.from_string( 810 t = env.from_string( 819 t = env.from_string( [all …]
|
H A D | test_lexnparse.py | 45 tmpl = env.from_string( 66 tmpl = env.from_string( 73 tmpl = env.from_string( 81 tmpl = env.from_string( 162 env.from_string(t) 188 tmpl = env.from_string( 199 tmpl = env.from_string( 210 tmpl = env.from_string( 224 tmpl = env.from_string( 234 tmpl = env.from_string( [all …]
|
H A D | test_imports.py | 30 t = test_env.from_string( 34 t = test_env.from_string( 40 t = test_env.from_string( 44 t = test_env.from_string( 80 m = test_env.from_string( 173 t = test_env.from_string("{% include x %}") 177 t = test_env.from_string("{% include x %}") 179 t = test_env.from_string("{% include [x] %}") 186 t = test_env.from_string( 203 t = test_env.from_string( [all …]
|
H A D | test_core_tags.py | 70 tmpl = env.from_string( 79 tmpl = env.from_string( 89 tmpl = env.from_string( 112 tmpl = env.from_string( 129 tmpl = env.from_string( 230 t = env.from_string( 237 t = env.from_string( 242 t = env.from_string( 249 t = env.from_string( 257 t = env.from_string( [all …]
|
H A D | test_async.py | 148 t = test_env_async.from_string( 152 t = test_env_async.from_string( 158 t = test_env_async.from_string( 162 t = test_env_async.from_string( 176 test_env_async.from_string( 206 t = test_env_async.from_string( 257 t = test_env_async.from_string( 276 t = env.from_string( 311 t = test_env_async.from_string( 478 t = test_env_async.from_string( [all …]
|
H A D | test_api.py | 46 t = e.from_string("<{{ none }}>") 51 t = e.from_string("<{{ value }}>") 61 t = e.from_string("{{ value }}") 70 t = e.from_string("{{ value }}") 81 t = e.from_string("{{ value }}") 149 t = env.from_string("{{ foo }}") 217 t = env.from_string( 226 tmpl = env.from_string( 236 tmpl = env.from_string("") 247 tmpl = env.from_string("\u2713") [all …]
|
/dports/devel/py-Jinja2/Jinja2-3.0.1/tests/ |
H A D | test_filters.py | 45 tmpl = env.from_string( 104 tmpl = env.from_string( 123 tmpl = env.from_string( 278 tmpl = env.from_string( 321 tmpl = env.from_string( 330 tmpl = env.from_string( 373 tmpl = env.from_string( 383 tmpl = env.from_string( 810 t = env.from_string( 819 t = env.from_string( [all …]
|
H A D | test_lexnparse.py | 45 tmpl = env.from_string( 66 tmpl = env.from_string( 73 tmpl = env.from_string( 81 tmpl = env.from_string( 162 env.from_string(t) 188 tmpl = env.from_string( 199 tmpl = env.from_string( 210 tmpl = env.from_string( 224 tmpl = env.from_string( 234 tmpl = env.from_string( [all …]
|
H A D | test_imports.py | 30 t = test_env.from_string( 34 t = test_env.from_string( 40 t = test_env.from_string( 44 t = test_env.from_string( 80 m = test_env.from_string( 173 t = test_env.from_string("{% include x %}") 177 t = test_env.from_string("{% include x %}") 179 t = test_env.from_string("{% include [x] %}") 186 t = test_env.from_string( 203 t = test_env.from_string( [all …]
|
H A D | test_core_tags.py | 70 tmpl = env.from_string( 79 tmpl = env.from_string( 89 tmpl = env.from_string( 112 tmpl = env.from_string( 129 tmpl = env.from_string( 230 t = env.from_string( 237 t = env.from_string( 242 t = env.from_string( 249 t = env.from_string( 257 t = env.from_string( [all …]
|
H A D | test_async.py | 148 t = test_env_async.from_string( 152 t = test_env_async.from_string( 158 t = test_env_async.from_string( 162 t = test_env_async.from_string( 176 test_env_async.from_string( 206 t = test_env_async.from_string( 257 t = test_env_async.from_string( 276 t = env.from_string( 311 t = test_env_async.from_string( 478 t = test_env_async.from_string( [all …]
|
H A D | test_api.py | 46 t = e.from_string("<{{ none }}>") 51 t = e.from_string("<{{ value }}>") 61 t = e.from_string("{{ value }}") 70 t = e.from_string("{{ value }}") 81 t = e.from_string("{{ value }}") 149 t = env.from_string("{{ foo }}") 217 t = env.from_string( 226 tmpl = env.from_string( 236 tmpl = env.from_string("") 247 tmpl = env.from_string("\u2713") [all …]
|
/dports/www/py-bokeh/bokeh-2.3.3/tests/unit/bokeh/models/ |
H A D | test_tools.py | 38 assert isinstance(Tool.from_string("pan"), t.PanTool) 39 assert isinstance(Tool.from_string("xpan"), t.PanTool) 40 assert isinstance(Tool.from_string("ypan"), t.PanTool) 52 assert isinstance(Tool.from_string("click"), t.TapTool) 53 assert isinstance(Tool.from_string("tap"), t.TapTool) 64 assert isinstance(Tool.from_string("save"), t.SaveTool) 65 assert isinstance(Tool.from_string("undo"), t.UndoTool) 66 assert isinstance(Tool.from_string("redo"), t.RedoTool) 67 assert isinstance(Tool.from_string("reset"), t.ResetTool) 68 assert isinstance(Tool.from_string("help"), t.HelpTool) [all …]
|
/dports/www/py-rfc3986/rfc3986-1.5.0/tests/ |
H A D | test_uri.py | 23 uri = URIReference.from_string(invalid_uri) 29 uri = URIReference.from_string(invalid_uri) 61 uri = self.test_class.from_string("[::1]") 70 uri = URIReference.from_string(basic_uri) 74 uri = URIReference.from_string(basic_uri) 78 uri = URIReference.from_string(basic_uri) 239 uri = URIReference.from_string(basic_uri) 286 B = URIReference.from_string(basic_uri) 346 R = URIReference.from_string("?query") 355 ref = URIReference.from_string(url) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webdriver/pylib/test/selenium/webdriver/support/ |
H A D | color_tests.py | 25 assert Color.from_string(rgb).rgb == rgb 41 assert Color.from_string(rgba).rgba == rgba 49 assert Color.from_string(hex_).hex == hex_ 54 assert Color.from_string(hex_).rgb == rgb 59 assert Color.from_string(hex_).rgba == rgba 63 assert Color.from_string(hex_).rgba == rgba 74 assert Color.from_string(hsl).rgba == rgba 78 assert Color.from_string(hsl).rgba == rgba 96 assert Color.from_string("#f00") == Color.from_string("rgb(255, 0, 0)") 97 … assert Color.from_string("rgba(30, 30, 30, 0.2)") != Color.from_string("rgba(30, 30, 30, 1)") [all …]
|
/dports/security/py-python-gvm/python-gvm-21.10.0/tests/protocols/gmpv208/enums/ |
H A D | test_entity_type.py | 28 EntityType.from_string('foo') 31 ct = EntityType.from_string(None) 33 ct = EntityType.from_string('') 37 ct = EntityType.from_string('alert') 41 ct = EntityType.from_string('asset') 45 ct = EntityType.from_string('audit') 53 ct = EntityType.from_string('cpe') 73 ct = EntityType.from_string('host') 77 ct = EntityType.from_string('info') 85 ct = EntityType.from_string('nvt') [all …]
|
H A D | test_filter_type.py | 27 ft = FilterType.from_string('alert') 31 ft = FilterType.from_string('asset') 43 ft = FilterType.from_string('group') 47 ft = FilterType.from_string('host') 51 ft = FilterType.from_string('note') 79 ft = FilterType.from_string('role') 95 ft = FilterType.from_string('tag') 139 ft = FilterType.from_string('os') 144 FilterType.from_string('foo') 147 ft = FilterType.from_string(None) [all …]
|
/dports/security/py-python-gvm/python-gvm-21.10.0/tests/protocols/gmpv214/enums/ |
H A D | test_entity_type.py | 28 EntityType.from_string('foo') 31 ct = EntityType.from_string(None) 33 ct = EntityType.from_string('') 37 ct = EntityType.from_string('audit') 41 ct = EntityType.from_string('alert') 45 ct = EntityType.from_string('asset') 53 ct = EntityType.from_string('cpe') 73 ct = EntityType.from_string('host') 77 ct = EntityType.from_string('info') 85 ct = EntityType.from_string('nvt') [all …]
|
H A D | test_filter_type.py | 27 ft = FilterType.from_string('alert') 31 ft = FilterType.from_string('asset') 43 ft = FilterType.from_string('group') 47 ft = FilterType.from_string('host') 51 ft = FilterType.from_string('note') 79 ft = FilterType.from_string('role') 95 ft = FilterType.from_string('tag') 139 ft = FilterType.from_string('os') 144 FilterType.from_string('foo') 147 ft = FilterType.from_string(None) [all …]
|
/dports/finance/beancount/beancount-2.3.3/experiments/washsales/ |
H A D | wash_calculator_test.py | 20 inv, DD('2014-02-03'), position.from_string('0 HOOL {500 USD}')) 27 inv, DD('2014-02-10'), position.from_string('10 HOOL {500 USD}')) 40 inv, DD('2014-02-10'), position.from_string('10 HOOL {500 USD}')) 42 inv, DD('2014-02-10'), position.from_string('7 HOOL {500 USD}')) 49 inv, DD('2014-02-10'), position.from_string('10 HOOL {500 USD}')) 57 inv, DD('2014-02-10'), position.from_string('10 HOOL {500 USD}')) 67 inv, DD('2014-02-10'), position.from_string('10 HOOL {500 USD}')) 112 position.from_string('-13 HOOL {500 USD / 2014-02-10}')) 122 position.from_string('-10 HOOL {500 USD / 2014-02-11}')) 131 position.from_string('-7 HOOL {500 USD / 2014-02-11}')) [all …]
|
/dports/devel/py-intervals/intervals-0.9.2/tests/interval/ |
H A D | test_operators.py | 109 IntInterval.from_string('[0, 2)'), 110 IntInterval.from_string('[0, 2)'), 114 IntInterval.from_string('(0, 2]'), 115 IntInterval.from_string('(0, 2]'), 149 IntInterval.from_string(interval) == 150 IntInterval.from_string(interval2) 173 IntInterval.from_string(interval1) & 174 IntInterval.from_string(interval2) == 187 IntInterval.from_string(interval2) 220 IntInterval.from_string(interval1) | [all …]
|
/dports/devel/p5-Parser-MGC/Parser-MGC-0.19/t/ |
H A D | 13token_string.t | 32 is( $parser->from_string( q['single'] ), "single", 'Single quoted string' ); 33 is( $parser->from_string( q["double"] ), "double", 'Double quoted string' ); 38 is( $parser->from_string( q["tab \t"] ), "tab \t", '\t' ); 39 is( $parser->from_string( q["newline \n"] ), "newline \n", '\n' ); 40 is( $parser->from_string( q["return \r"] ), "return \r", '\r' ); 41 is( $parser->from_string( q["form feed \f"] ), "form feed \f", '\f' ); 42 is( $parser->from_string( q["backspace \b"] ), "backspace \b", '\b' ); 43 is( $parser->from_string( q["bell \a"] ), "bell \a", '\a' ); 44 is( $parser->from_string( q["escape \e"] ), "escape \e", '\e' ); 49 is( $parser->from_string( q["octal \101BC"] ), "octal ABC", 'Octal' ); [all …]
|
/dports/science/dalton/dalton-66052b3af5ea7225e31178bf9a8b031913c72190/DALTON/test/walk_vibave/ |
H A D | test | 25 f.add(from_string = 'Molecular gradient (au)', 32 f.add(from_string = 'Molecular Hessian (au)', 44 f.add(from_string = 'Magnetizabilities au', 50 f.add(from_string = 'Molecular rotational g-tensor\n', 61 f.add(from_string = 'Chemical shielding for ', 81 f.add(from_string = 'Dipole moment components', 88 f.add(from_string = 'Dipole moment at effective geometry', 94 f.add(from_string = 'Magnetizabilities at effective geometry', 115 f.add(from_string = 'Dipole moment second derivatives:', 123 f.add(from_string = 'Rotational g tensor second derivatives:', [all …]
|