diff --git a/.gitignore b/.gitignore index e3fbd983..cd9ad784 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build node_modules +last.png diff --git a/test/huxley/Baseline.huxley/record.json b/test/huxley/Baseline.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/Baseline.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/Baseline.huxley/screenshot0.png b/test/huxley/Baseline.huxley/screenshot0.png new file mode 100644 index 00000000..091b27d9 Binary files /dev/null and b/test/huxley/Baseline.huxley/screenshot0.png differ diff --git a/test/huxley/BasicTest.huxley/record.json b/test/huxley/BasicTest.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/BasicTest.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/BasicTest.huxley/screenshot0.png b/test/huxley/BasicTest.huxley/screenshot0.png new file mode 100644 index 00000000..c3d4c14e Binary files /dev/null and b/test/huxley/BasicTest.huxley/screenshot0.png differ diff --git a/test/huxley/Colors.huxley/record.json b/test/huxley/Colors.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/Colors.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/Colors.huxley/screenshot0.png b/test/huxley/Colors.huxley/screenshot0.png new file mode 100644 index 00000000..d9676c25 Binary files /dev/null and b/test/huxley/Colors.huxley/screenshot0.png differ diff --git a/test/huxley/Exponents.huxley/record.json b/test/huxley/Exponents.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/Exponents.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/Exponents.huxley/screenshot0.png b/test/huxley/Exponents.huxley/screenshot0.png new file mode 100644 index 00000000..26896763 Binary files /dev/null and b/test/huxley/Exponents.huxley/screenshot0.png differ diff --git a/test/huxley/FractionTest.huxley/record.json b/test/huxley/FractionTest.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/FractionTest.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/FractionTest.huxley/screenshot0.png b/test/huxley/FractionTest.huxley/screenshot0.png new file mode 100644 index 00000000..4a9410bf Binary files /dev/null and b/test/huxley/FractionTest.huxley/screenshot0.png differ diff --git a/test/huxley/Functions.huxley/record.json b/test/huxley/Functions.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/Functions.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/Functions.huxley/screenshot0.png b/test/huxley/Functions.huxley/screenshot0.png new file mode 100644 index 00000000..0516ccdc Binary files /dev/null and b/test/huxley/Functions.huxley/screenshot0.png differ diff --git a/test/huxley/GreekLetters.huxley/record.json b/test/huxley/GreekLetters.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/GreekLetters.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/GreekLetters.huxley/screenshot0.png b/test/huxley/GreekLetters.huxley/screenshot0.png new file mode 100644 index 00000000..bb857a6e Binary files /dev/null and b/test/huxley/GreekLetters.huxley/screenshot0.png differ diff --git a/test/huxley/Huxleyfile b/test/huxley/Huxleyfile new file mode 100644 index 00000000..7ef55920 --- /dev/null +++ b/test/huxley/Huxleyfile @@ -0,0 +1,32 @@ +[BasicTest] +url=http://localhost:7936/test/huxley/test.html#a + +[FractionTest] +url=http://localhost:7936/test/huxley/test.html#\dfrac{a}{b}\frac{a}{b}\tfrac{a}{b} + +[NestedFractions] +url=http://localhost:7936/test/huxley/test.html#\dfrac{\frac{a}{b}}{\frac{c}{d}}\dfrac{\dfrac{a}{b}}{\dfrac{c}{d}}\frac{\frac{a}{b}}{\frac{c}{d}} + +[Exponents] +url=http://localhost:7936/test/huxley/test.html#a^{a^a_a}_{a^a_a} + +[Colors] +url=http://localhost:7936/test/huxley/test.html#\blue{a}\green{b}\red{c} + +[GreekLetters] +url=http://localhost:7936/test/huxley/test.html#\alpha\beta\gamma\omega + +[Baseline] +url=http://localhost:7936/test/huxley/test.html#a+b-c\cdot d/e + +[Spacing] +url=http://localhost:7936/test/huxley/test.html#[-1][1-1]1=1(=1)\lvert a\rvert + +[Functions] +url=http://localhost:7936/test/huxley/test.html#\sin\cos\tan\ln\log + +[Lap] +url=http://localhost:7936/test/huxley/test.html#ab\llap{f}cd\rlap{g}h + +[KaTeX] +url=http://localhost:7936/test/huxley/test.html#\KaTeX \ No newline at end of file diff --git a/test/huxley/KaTeX.huxley/record.json b/test/huxley/KaTeX.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/KaTeX.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/KaTeX.huxley/screenshot0.png b/test/huxley/KaTeX.huxley/screenshot0.png new file mode 100644 index 00000000..7911c5e2 Binary files /dev/null and b/test/huxley/KaTeX.huxley/screenshot0.png differ diff --git a/test/huxley/Lap.huxley/record.json b/test/huxley/Lap.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/Lap.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/Lap.huxley/screenshot0.png b/test/huxley/Lap.huxley/screenshot0.png new file mode 100644 index 00000000..2ab3ed14 Binary files /dev/null and b/test/huxley/Lap.huxley/screenshot0.png differ diff --git a/test/huxley/NestedFractions.huxley/record.json b/test/huxley/NestedFractions.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/NestedFractions.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/NestedFractions.huxley/screenshot0.png b/test/huxley/NestedFractions.huxley/screenshot0.png new file mode 100644 index 00000000..edb9b093 Binary files /dev/null and b/test/huxley/NestedFractions.huxley/screenshot0.png differ diff --git a/test/huxley/Spacing.huxley/record.json b/test/huxley/Spacing.huxley/record.json new file mode 100644 index 00000000..9369c51e --- /dev/null +++ b/test/huxley/Spacing.huxley/record.json @@ -0,0 +1 @@ +{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]} diff --git a/test/huxley/Spacing.huxley/screenshot0.png b/test/huxley/Spacing.huxley/screenshot0.png new file mode 100644 index 00000000..633b2914 Binary files /dev/null and b/test/huxley/Spacing.huxley/screenshot0.png differ diff --git a/test/huxley/test.html b/test/huxley/test.html new file mode 100644 index 00000000..3b992dec --- /dev/null +++ b/test/huxley/test.html @@ -0,0 +1,22 @@ + + +
+