<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>mars-rover-fe, branch HEAD</title>
<subtitle>Unnamed repository; edit this file &#39;description&#39; to name the repository.
</subtitle>
<entry>
<id>95d201eb2f97c1dc6a93f3ec03900a1be67a92d5</id>
<published>2023-11-03T19:00:27Z</published>
<updated>2023-11-03T19:00:27Z</updated>
<title type="text">deduplicate code in rotate method</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/95d201eb2f97c1dc6a93f3ec03900a1be67a92d5.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 95d201eb2f97c1dc6a93f3ec03900a1be67a92d5
parent 9a9bad4f7133f5f82e85068088dd34d19e3e36d0
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Fri,  3 Nov 2023 19:00:27 +0000

deduplicate code in rotate method

</content>
</entry>
<entry>
<id>9a9bad4f7133f5f82e85068088dd34d19e3e36d0</id>
<published>2023-11-03T18:50:44Z</published>
<updated>2023-11-03T18:50:44Z</updated>
<title type="text">reduce test prolixity with smarter use statement</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/9a9bad4f7133f5f82e85068088dd34d19e3e36d0.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 9a9bad4f7133f5f82e85068088dd34d19e3e36d0
parent 3af88ea712929c0cab6a352b432581c2e53ca8f8
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Fri,  3 Nov 2023 18:50:44 +0000

reduce test prolixity with smarter use statement

</content>
</entry>
<entry>
<id>3af88ea712929c0cab6a352b432581c2e53ca8f8</id>
<published>2023-11-03T18:49:01Z</published>
<updated>2023-11-03T18:49:01Z</updated>
<title type="text">remove casts to i32</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/3af88ea712929c0cab6a352b432581c2e53ca8f8.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 3af88ea712929c0cab6a352b432581c2e53ca8f8
parent 4f3fb6243213432e48b2ea90eade7b4ffc366e2b
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Fri,  3 Nov 2023 18:49:01 +0000

remove casts to i32

</content>
</entry>
<entry>
<id>4f3fb6243213432e48b2ea90eade7b4ffc366e2b</id>
<published>2023-11-03T18:47:50Z</published>
<updated>2023-11-03T18:47:50Z</updated>
<title type="text">convert the other methods</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/4f3fb6243213432e48b2ea90eade7b4ffc366e2b.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 4f3fb6243213432e48b2ea90eade7b4ffc366e2b
parent 1cc78f1e54f4c8fad5693f2f3dad205bd5519725
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Fri,  3 Nov 2023 18:47:50 +0000

convert the other methods

</content>
</entry>
<entry>
<id>1cc78f1e54f4c8fad5693f2f3dad205bd5519725</id>
<published>2023-11-03T18:43:49Z</published>
<updated>2023-11-03T18:43:49Z</updated>
<title type="text">convert forward into a method</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/1cc78f1e54f4c8fad5693f2f3dad205bd5519725.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 1cc78f1e54f4c8fad5693f2f3dad205bd5519725
parent d2f123bcf62239ee6d2ed6528b1671ce7e86ba8a
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Fri,  3 Nov 2023 18:43:49 +0000

convert forward into a method

</content>
</entry>
<entry>
<id>d2f123bcf62239ee6d2ed6528b1671ce7e86ba8a</id>
<published>2023-11-03T18:41:40Z</published>
<updated>2023-11-03T18:41:40Z</updated>
<title type="text">make Rover a struct instead of a raw tuple</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/d2f123bcf62239ee6d2ed6528b1671ce7e86ba8a.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit d2f123bcf62239ee6d2ed6528b1671ce7e86ba8a
parent 023923f06b13a15d61a807eda7d82632b444a309
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Fri,  3 Nov 2023 18:41:40 +0000

make Rover a struct instead of a raw tuple

</content>
</entry>
<entry>
<id>023923f06b13a15d61a807eda7d82632b444a309</id>
<published>2023-11-02T23:21:40Z</published>
<updated>2023-11-02T23:21:40Z</updated>
<title type="text">improve names</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/023923f06b13a15d61a807eda7d82632b444a309.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 023923f06b13a15d61a807eda7d82632b444a309
parent e4bd2597d5fe35ac5d026916df732b60d8dc4edf
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Thu,  2 Nov 2023 23:21:40 +0000

improve names

</content>
</entry>
<entry>
<id>e4bd2597d5fe35ac5d026916df732b60d8dc4edf</id>
<published>2023-11-02T23:16:04Z</published>
<updated>2023-11-02T23:16:04Z</updated>
<title type="text">we can drive a rover with sequence of commands as string</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/e4bd2597d5fe35ac5d026916df732b60d8dc4edf.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit e4bd2597d5fe35ac5d026916df732b60d8dc4edf
parent f09e4d4bee909ea28b0d1691703f5eee0ffb402f
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Thu,  2 Nov 2023 23:16:04 +0000

we can drive a rover with sequence of commands as string

</content>
</entry>
<entry>
<id>f09e4d4bee909ea28b0d1691703f5eee0ffb402f</id>
<published>2023-11-01T00:23:58Z</published>
<updated>2023-11-01T00:23:58Z</updated>
<title type="text">use match instead of if/else</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/f09e4d4bee909ea28b0d1691703f5eee0ffb402f.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit f09e4d4bee909ea28b0d1691703f5eee0ffb402f
parent c812b79363f9f85901d76f7d25ae201323baff7e
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Wed,  1 Nov 2023 00:23:58 +0000

use match instead of if/else

Rotation is an enum so leverage the compiler to tell us
we&#39;ve considered all cases

</content>
</entry>
<entry>
<id>c812b79363f9f85901d76f7d25ae201323baff7e</id>
<published>2023-11-01T00:22:12Z</published>
<updated>2023-11-01T00:22:12Z</updated>
<title type="text">implement rotation</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/c812b79363f9f85901d76f7d25ae201323baff7e.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit c812b79363f9f85901d76f7d25ae201323baff7e
parent a8e9ab810cbddd224fcee2fd633f041343f60b6f
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Wed,  1 Nov 2023 00:22:12 +0000

implement rotation

</content>
</entry>
<entry>
<id>a8e9ab810cbddd224fcee2fd633f041343f60b6f</id>
<published>2023-10-31T23:51:45Z</published>
<updated>2023-10-31T23:51:45Z</updated>
<title type="text">implement backward()</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/a8e9ab810cbddd224fcee2fd633f041343f60b6f.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit a8e9ab810cbddd224fcee2fd633f041343f60b6f
parent d8c0a21985b2b4c40de7d6fabb3fab1deb73f2ed
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Tue, 31 Oct 2023 23:51:45 +0000

implement backward()

this has meant changing the type signature of forward()
so that it accepts the rover by reference not value, and
making Facing a Copy type so that the direction passed to
forward can also be returned in its output

</content>
</entry>
<entry>
<id>d8c0a21985b2b4c40de7d6fabb3fab1deb73f2ed</id>
<published>2023-10-31T23:32:20Z</published>
<updated>2023-10-31T23:32:20Z</updated>
<title type="text">extract velocity function</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/d8c0a21985b2b4c40de7d6fabb3fab1deb73f2ed.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit d8c0a21985b2b4c40de7d6fabb3fab1deb73f2ed
parent 2b65145621ffbacaf13187df4dfb443996bab20c
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Tue, 31 Oct 2023 23:32:20 +0000

extract velocity function

note we have to pass a reference to &quot;facing&quot; not the
tuple itself, otherwise it owns it and we get
&quot;value used here after move&quot;

</content>
</entry>
<entry>
<id>2b65145621ffbacaf13187df4dfb443996bab20c</id>
<published>2023-10-31T23:27:07Z</published>
<updated>2023-10-31T23:27:07Z</updated>
<title type="text">add S W E</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/2b65145621ffbacaf13187df4dfb443996bab20c.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 2b65145621ffbacaf13187df4dfb443996bab20c
parent 5a148a268836126aa9df771ff9bf0232e2a34959
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Tue, 31 Oct 2023 23:27:07 +0000

add S W E

</content>
</entry>
<entry>
<id>5a148a268836126aa9df771ff9bf0232e2a34959</id>
<published>2023-10-31T23:17:36Z</published>
<updated>2023-10-31T23:17:36Z</updated>
<title type="text">destructure rover in function param list</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/5a148a268836126aa9df771ff9bf0232e2a34959.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 5a148a268836126aa9df771ff9bf0232e2a34959
parent 9348808ea9516e114bdd11df307283fb85fc209f
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Tue, 31 Oct 2023 23:17:36 +0000

destructure rover in function param list

</content>
</entry>
<entry>
<id>9348808ea9516e114bdd11df307283fb85fc209f</id>
<published>2023-10-31T23:14:54Z</published>
<updated>2023-10-31T23:14:54Z</updated>
<title type="text">don&#39;t hardcode return value in forward()</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/9348808ea9516e114bdd11df307283fb85fc209f.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 9348808ea9516e114bdd11df307283fb85fc209f
parent 71d9c799b6c289a8299a089aafdd16d048851553
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Tue, 31 Oct 2023 23:14:54 +0000

don&#39;t hardcode return value in forward()

</content>
</entry>
<entry>
<id>71d9c799b6c289a8299a089aafdd16d048851553</id>
<published>2023-10-31T22:51:32Z</published>
<updated>2023-10-31T22:51:32Z</updated>
<title type="text">rover moves forward northward when pointing north</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/71d9c799b6c289a8299a089aafdd16d048851553.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit 71d9c799b6c289a8299a089aafdd16d048851553
parent a4a80f450ae62b079b79be1487bb6c59cb59f872
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Tue, 31 Oct 2023 22:51:32 +0000

rover moves forward northward when pointing north

</content>
</entry>
<entry>
<id>a4a80f450ae62b079b79be1487bb6c59cb59f872</id>
<published>2023-10-31T22:10:48Z</published>
<updated>2023-10-31T22:10:48Z</updated>
<title type="text">&quot;cargo new&quot; and write a failing test</title>
<link rel="alternate" type="text/html" href="https://gti.telent.net/dan/commit/a4a80f450ae62b079b79be1487bb6c59cb59f872.html" />
<author>
<name>Daniel Barlow</name>
<email>dan@telent.net</email>
</author>
<content type="text">commit a4a80f450ae62b079b79be1487bb6c59cb59f872
Author: Daniel Barlow &lt;dan@telent.net&gt;
Date:   Tue, 31 Oct 2023 22:10:48 +0000

&quot;cargo new&quot; and write a failing test

</content>
</entry>
</feed>
