<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/testdir/test_float_func.vim, branch tmp</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>vim-patch:8.1.{1524,1544}: tests are silently skipped (#19276)</title>
<updated>2022-07-08T00:26:25+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-08T00:26:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ca64b589cd74e9f6bd369286a415711ec7197082'/>
<id>ca64b589cd74e9f6bd369286a415711ec7197082</id>
<content type='text'>
This is a port of these two patches combined:

vim-patch:8.1.1524: tests are silently skipped

Problem:    Tests are silently skipped.
Solution:   Throw an exception for skipped tests in more places.
https://github.com/vim/vim/commit/b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1

vim-patch:8.1.1544: some balloon tests don't run when they can

Problem:    Some balloon tests don't run when they can.
Solution:   Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
            closes vim/vim#4538)  Change the feature check into a command for
            consistency.
https://github.com/vim/vim/commit/b46fecd3454399f8ebdc5055302e4bfc5a10f98b

Omit test_lua.vim: previous patches are N/A
Omit test_memory_usage.vim: previous patches are N/A
Omit test_textprop.vim: previous patches are N/A
Omit test_winbar.vim: previous patches are N/A
Omit test_termcodes.vim: mostly N/A
Skip Test_mouse_positon() because it uses test_setmouse().
Cannot throw error in a Test_nocatch_ test.
Use latest `CheckFeature clipboard_working` for test_quotestar.vim</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a port of these two patches combined:

vim-patch:8.1.1524: tests are silently skipped

Problem:    Tests are silently skipped.
Solution:   Throw an exception for skipped tests in more places.
https://github.com/vim/vim/commit/b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1

vim-patch:8.1.1544: some balloon tests don't run when they can

Problem:    Some balloon tests don't run when they can.
Solution:   Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
            closes vim/vim#4538)  Change the feature check into a command for
            consistency.
https://github.com/vim/vim/commit/b46fecd3454399f8ebdc5055302e4bfc5a10f98b

Omit test_lua.vim: previous patches are N/A
Omit test_memory_usage.vim: previous patches are N/A
Omit test_textprop.vim: previous patches are N/A
Omit test_winbar.vim: previous patches are N/A
Omit test_termcodes.vim: mostly N/A
Skip Test_mouse_positon() because it uses test_setmouse().
Cannot throw error in a Test_nocatch_ test.
Use latest `CheckFeature clipboard_working` for test_quotestar.vim</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1336: some eval functionality is not covered by tests</title>
<updated>2021-10-03T19:06:31+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-27T21:07:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0193b3a3917d426bb5798759c3629e9d4f3eb7a8'/>
<id>0193b3a3917d426bb5798759c3629e9d4f3eb7a8</id>
<content type='text'>
Problem:    Some eval functionality is not covered by tests.
Solution:   Add a few more test cases. (Masato Nishihata, closes vim/vim#4374)
https://github.com/vim/vim/commit/17aca707f92235b6f962e637e8073162d18e6de2

Test_expand() changes are required for v8.1.1921.
Test_call() and Test_cindent_func() are already ported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Some eval functionality is not covered by tests.
Solution:   Add a few more test cases. (Masato Nishihata, closes vim/vim#4374)
https://github.com/vim/vim/commit/17aca707f92235b6f962e637e8073162d18e6de2

Test_expand() changes are required for v8.1.1921.
Test_call() and Test_cindent_func() are already ported.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1879: more functions can be used as methods</title>
<updated>2021-08-12T21:35:23+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-07T15:27:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=41dbd3a2e05f5f4d59e076f8b8c82ad974d2bbd5'/>
<id>41dbd3a2e05f5f4d59e076f8b8c82ad974d2bbd5</id>
<content type='text'>
Problem:    More functions can be used as methods.
Solution:   Make float functions usable as a method.
https://github.com/vim/vim/commit/93cf85f9ef02931de3f8c8e536a137da0b48b7dc

Fix atan2() doc typo (patch referred to it as atan()).
Adjust Test_fmod() method test to expect "str2float('nan')".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    More functions can be used as methods.
Solution:   Make float functions usable as a method.
https://github.com/vim/vim/commit/93cf85f9ef02931de3f8c8e536a137da0b48b7dc

Fix atan2() doc typo (patch referred to it as atan()).
Adjust Test_fmod() method test to expect "str2float('nan')".
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1111: it is not easy to check for infinity</title>
<updated>2019-08-24T21:02:05+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-08-24T20:48:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1dc088ea7dff8921d5580078f31a3a660ee16dc0'/>
<id>1dc088ea7dff8921d5580078f31a3a660ee16dc0</id>
<content type='text'>
Problem:    It is not easy to check for infinity.
Solution:   Add isinf(). (Ozaki Kiichi, closes vim/vim#3787)
https://github.com/vim/vim/commit/fda1bff39f89775b20a2d88ef3903656d52f66ad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    It is not easy to check for infinity.
Solution:   Add isinf(). (Ozaki Kiichi, closes vim/vim#3787)
https://github.com/vim/vim/commit/fda1bff39f89775b20a2d88ef3903656d52f66ad
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:7.4.1407</title>
<updated>2019-08-24T19:56:17+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-08-24T19:45:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=01b5499eea24961f0163b0ca3728c649aad53bbf'/>
<id>01b5499eea24961f0163b0ca3728c649aad53bbf</id>
<content type='text'>
Problem:    json_encode() does not handle NaN and inf properly. (David
            Barnett)
Solution:   For JSON turn them into "null".  For JS use "NaN" and "Infinity".
            Add isnan().
https://github.com/vim/vim/commit/f1b6ac72293e658bb6e68c5cfd926c405b1b6f34
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    json_encode() does not handle NaN and inf properly. (David
            Barnett)
Solution:   For JSON turn them into "null".  For JS use "NaN" and "Infinity".
            Add isnan().
https://github.com/vim/vim/commit/f1b6ac72293e658bb6e68c5cfd926c405b1b6f34
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.0.0614</title>
<updated>2017-06-06T11:39:33+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2017-06-06T11:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6757c503bd6c8715cee38475c329f7daee7a760f'/>
<id>6757c503bd6c8715cee38475c329f7daee7a760f</id>
<content type='text'>
Problem:    float2nr() is not exactly right.
Solution:   Make float2nr() more accurate.  Turn test64 into a new style test.
            (Hirohito Higashi, closes vim/vim#1688)

https://github.com/vim/vim/commit/863e80b4451b5102b41bebf9ddca3a420de746fa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    float2nr() is not exactly right.
Solution:   Make float2nr() more accurate.  Turn test64 into a new style test.
            (Hirohito Higashi, closes vim/vim#1688)

https://github.com/vim/vim/commit/863e80b4451b5102b41bebf9ddca3a420de746fa
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.0.0168</title>
<updated>2017-06-06T09:07:14+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2017-06-06T02:53:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0088ed0f1a73dcf85ce35733f2f6b2c1e84dcfef'/>
<id>0088ed0f1a73dcf85ce35733f2f6b2c1e84dcfef</id>
<content type='text'>
Problem:    Still some float functionality is not covered by tests.
Solution:   Add more tests. (Dominique Pelle, closes vim/vim#1364)

https://github.com/vim/vim/commit/872004132f25cabe59352912889e042d6c7e6b4e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Still some float functionality is not covered by tests.
Solution:   Add more tests. (Dominique Pelle, closes vim/vim#1364)

https://github.com/vim/vim/commit/872004132f25cabe59352912889e042d6c7e6b4e
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.0.0167</title>
<updated>2017-06-06T09:07:14+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2017-06-06T02:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=17d616037d9312be6fb99ab559861175a1bc35e6'/>
<id>17d616037d9312be6fb99ab559861175a1bc35e6</id>
<content type='text'>
Problem:    str2nr() and str2float() do not always work with negative values.
Solution:   Be more flexible about handling signs. (LemonBoy, closes vim/vim#1332)
            Add more tests.

https://github.com/vim/vim/commit/08243d26d22ad44a857d02c90071578577b8a55d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    str2nr() and str2float() do not always work with negative values.
Solution:   Be more flexible about handling signs. (LemonBoy, closes vim/vim#1332)
            Add more tests.

https://github.com/vim/vim/commit/08243d26d22ad44a857d02c90071578577b8a55d
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.0.0158</title>
<updated>2017-06-06T09:07:14+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2017-06-06T01:58:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b1d4ef2b420b1fa9826a9e79344adaf71ad27e18'/>
<id>b1d4ef2b420b1fa9826a9e79344adaf71ad27e18</id>
<content type='text'>
Problem:    On MS-Windows some float functions return a different value when
            passed unusual values.  strtod() doesn't work for "inf" and "nan".
Solution:   Accept both results.  Fix str2float() for MS-Windows.  Also
            reorder assert function arguments.

https://github.com/vim/vim/commit/6247361101dcccc0c877e90ad67cd0cc83df7c68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    On MS-Windows some float functions return a different value when
            passed unusual values.  strtod() doesn't work for "inf" and "nan".
Solution:   Accept both results.  Fix str2float() for MS-Windows.  Also
            reorder assert function arguments.

https://github.com/vim/vim/commit/6247361101dcccc0c877e90ad67cd0cc83df7c68
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.0.0156</title>
<updated>2017-06-06T09:07:06+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2017-06-05T02:19:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=09eefbe92ce83e81b6e9c80681152a41ed011d56'/>
<id>09eefbe92ce83e81b6e9c80681152a41ed011d56</id>
<content type='text'>
Problem:    Several float functions are not covered by tests.
Solution:   Add float tests. (Dominique Pelle)

https://github.com/vim/vim/commit/453b576ee5d32e9b8e6876712748ae01f9be68dd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Several float functions are not covered by tests.
Solution:   Add float tests. (Dominique Pelle)

https://github.com/vim/vim/commit/453b576ee5d32e9b8e6876712748ae01f9be68dd
</pre>
</div>
</content>
</entry>
</feed>
