mirror of https://github.com/deuill/grawkit.git
tests: Add test for initial state, rename tests
This commit is contained in:
parent
0e5eee146f
commit
ed9c0b9ace
|
@ -0,0 +1,24 @@
|
|||
<!--
|
||||
|
||||
# Test initial state, with no commands.
|
||||
|
||||
-->
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 20 20">
|
||||
<style type="text/css"><![CDATA[
|
||||
.branch {
|
||||
fill: none;
|
||||
stroke: #333;
|
||||
stroke-width: 10;
|
||||
}
|
||||
.commit {
|
||||
fill: #fff;
|
||||
stroke: #333;
|
||||
stroke-width: 5;
|
||||
}
|
||||
]]></style>
|
||||
<g id="master">
|
||||
<path class="branch" d="M0,0 L0,0" />
|
||||
<circle class="commit" cx="0" cy="0" r="7.5" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 411 B |
|
@ -3,10 +3,11 @@
|
|||
# Test a simple scenario of adding a few commits to `master`.
|
||||
|
||||
git commit -m "Adding a new commit"
|
||||
git commit
|
||||
|
||||
-->
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 120 20">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 220 20">
|
||||
<style type="text/css"><![CDATA[
|
||||
.branch {
|
||||
fill: none;
|
||||
|
@ -20,8 +21,9 @@ git commit -m "Adding a new commit"
|
|||
}
|
||||
]]></style>
|
||||
<g id="master">
|
||||
<path class="branch" d="M0,0 L100,0" />
|
||||
<path class="branch" d="M0,0 L200,0" />
|
||||
<circle class="commit" cx="0" cy="0" r="7.5" />
|
||||
<circle class="commit" cx="100" cy="0" r="7.5" />
|
||||
<circle class="commit" cx="200" cy="0" r="7.5" />
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 584 B |
Loading…
Reference in New Issue