Permalink
Browse files

More comments.

  • Loading branch information...
1 parent d023288 commit 9f6a441fe0b02ce7283e82e3fea7ec167d75f52a @Sirvasile committed May 14, 2017
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/test.js
View
@@ -9,16 +9,23 @@ import {Typefont} from "../src/index.js";
function (undefined)
{
+ // Test options.
const _OPTIONS = {
fontsIndex: "../storage/index.json",
fontsDirectory: "../storage/fonts/"
};
+
+ // Directory of the images to recognize.
const _DIR = "images/";
+
+ // List of the images to recognize.
const _TESTS = [
"book.png",
"book1.png",
"web.png"
];
+
+ // Results to match.
const _RESULTS = [
["Roboto", "Ubuntu", "Nunito Sans", "Aldrich", "Raleway", "Lora", "Times New Roman"],
["Lora", "Times New Roman", "Ubuntu", "Nunito Sans", "Roboto", "Raleway", "Aldrich"],

0 comments on commit 9f6a441

Please sign in to comment.