<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fietsboek/tests/unit, branch master</title>
<subtitle>A web-based GPX track tracker</subtitle>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/'/>
<entry>
<title>Merge branch 'pdf'</title>
<updated>2025-12-07T20:48:06+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-12-07T20:48:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=5455a0c5216409ad5593c4b4bfd0fbfcd65b1e04'/>
<id>5455a0c5216409ad5593c4b4bfd0fbfcd65b1e04</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add unit tests for typst escaping</title>
<updated>2025-11-25T20:32:58+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-11-25T20:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=a91c8309c2f68a4053c402a4e3fbaef86086d257'/>
<id>a91c8309c2f68a4053c402a4e3fbaef86086d257</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add test for xml_escape</title>
<updated>2025-11-22T19:36:33+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-11-22T19:36:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=462d4174b2f76da015ad4d9ec6d1998a47de918a'/>
<id>462d4174b2f76da015ad4d9ec6d1998a47de918a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix tests</title>
<updated>2025-11-01T13:48:15+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-11-01T13:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=04f6e55ef9facf367a06839dfffd58230cf88d7f'/>
<id>04f6e55ef9facf367a06839dfffd58230cf88d7f</id>
<content type='text'>
With the values being computed ourselves, they differ a bit from the
previous gpxpy values. Therefore, we adjust the expected values in the
tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the values being computed ourselves, they differ a bit from the
previous gpxpy values. Therefore, we adjust the expected values in the
tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>add tests for prev_next_month</title>
<updated>2024-11-25T20:23:15+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2024-11-25T20:23:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=e82233c57ba2a76dd2fbe10cec8effceac2a3e75'/>
<id>e82233c57ba2a76dd2fbe10cec8effceac2a3e75</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add unit tests for util.human_size</title>
<updated>2023-05-12T21:45:25+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2023-05-12T21:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=dca030a075d2a1b12f8ca902ffb44fa1eeb6b718'/>
<id>dca030a075d2a1b12f8ca902ffb44fa1eeb6b718</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>replace bleach with nh3</title>
<updated>2023-04-13T18:46:04+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2023-04-13T18:46:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=c8d3a9d1a926b244aadedb0d1811d8d8d4a4f4c0'/>
<id>c8d3a9d1a926b244aadedb0d1811d8d8d4a4f4c0</id>
<content type='text'>
See https://github.com/mozilla/bleach/issues/698

nh3 is a small wrapper around https://crates.io/crates/ammonia - more
Rust code in Fietsboek! \o/

The default seems to be to strip unknown tags instead of replace them
with htmlentities, which is fine. Then the &lt;script&gt; tags are completely
gone.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://github.com/mozilla/bleach/issues/698

nh3 is a small wrapper around https://crates.io/crates/ammonia - more
Rust code in Fietsboek! \o/

The default seems to be to strip unknown tags instead of replace them
with htmlentities, which is fine. Then the &lt;script&gt; tags are completely
gone.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix round_to_multiple for second-level accuracy</title>
<updated>2023-04-01T11:05:40+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2023-04-01T11:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=982d6c8cd5ba6ade04683e5699fc9fc170e4c109'/>
<id>982d6c8cd5ba6ade04683e5699fc9fc170e4c109</id>
<content type='text'>
It was ovious that this is broken when you try to round "0s" to
second-level granularity, and you end up with "1s". The problem comes
from the fact that we use the integer divison when checking whether we
should round up or down, but then also use strict inequality.

To fix this, we now also round down if the second_offset is equal to the
halfway point (which in the case of second-level granularity is 0).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was ovious that this is broken when you try to round "0s" to
second-level granularity, and you end up with "1s". The problem comes
from the fact that we use the integer divison when checking whether we
should round up or down, but then also use strict inequality.

To fix this, we now also round down if the second_offset is equal to the
halfway point (which in the case of second-level granularity is 0).
</pre>
</div>
</content>
</entry>
<entry>
<title>hide ugliness of tile url function</title>
<updated>2023-03-31T21:57:59+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2023-03-31T21:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=114274f900904070e941c4a544426b5d9d1267d2'/>
<id>114274f900904070e941c4a544426b5d9d1267d2</id>
<content type='text'>
We basically do the same hacky trick in two different places, so maybe
we should put it into a separate function, test it, and if a better
implementation arises, swap it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We basically do the same hacky trick in two different places, so maybe
we should put it into a separate function, test it, and if a better
implementation arises, swap it.
</pre>
</div>
</content>
</entry>
<entry>
<title>add first basic tests for synthetic tracks</title>
<updated>2022-07-24T20:28:38+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2022-07-24T20:28:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/fietsboek/commit/?id=02676f841c10b20e1a69b6936acb60dfc46da5c4'/>
<id>02676f841c10b20e1a69b6936acb60dfc46da5c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
