Browse Source

added new test

SakiKawasaki 5 years ago
parent
commit
5946bb69ef
4 changed files with 30 additions and 1 deletions
  1. 2 1
      README.md
  2. BIN
      tests/test7.exe
  3. 13 0
      tests/test7.nim
  4. 15 0
      tests/test7.svg

+ 2 - 1
README.md

@@ -8,4 +8,5 @@ The Nim badgemaker tool.
 [![test3](https://github.com/Ethosa/badgemaker/blob/master/tests/test3.svg)](https://github.com/Ethosa/badgemaker/blob/master/tests/test3.svg)  
 [![test4](https://github.com/Ethosa/badgemaker/blob/master/tests/test4.svg)](https://github.com/Ethosa/badgemaker/blob/master/tests/test4.svg)  
 [![test5](https://github.com/Ethosa/badgemaker/blob/master/tests/test5.svg)](https://github.com/Ethosa/badgemaker/blob/master/tests/test5.svg)  
-[![test6](https://github.com/Ethosa/badgemaker/blob/master/tests/test6.svg)](https://github.com/Ethosa/badgemaker/blob/master/tests/test6.svg)
+[![test6](https://github.com/Ethosa/badgemaker/blob/master/tests/test6.svg)](https://github.com/Ethosa/badgemaker/blob/master/tests/test6.svg)  
+[![test7](https://github.com/Ethosa/badgemaker/blob/master/tests/test7.svg)](https://github.com/Ethosa/badgemaker/blob/master/tests/test7.svg)

BIN
tests/test7.exe


+ 13 - 0
tests/test7.nim

@@ -0,0 +1,13 @@
+# author: Ethosa
+import badgemaker
+
+var badge = newBadge(
+  label="Programming language:", value="Nim",
+  label_color="#282A36", value_color="fuchsia",
+  label_text_color="#e0e0e0", value_text_color="#333",
+  width=220, style="plastic"
+)
+
+badge.setIcon "C://Users/Admin/Desktop/nim.png"
+
+badge.write "test7.svg"

File diff suppressed because it is too large
+ 15 - 0
tests/test7.svg


Some files were not shown because too many files changed in this diff