From 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 9 Jan 2006 00:49:07 +0000
Subject: doc/latex

git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/doc/latex/skak/angletst.tex | 52 +++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 Master/texmf-dist/doc/latex/skak/angletst.tex

(limited to 'Master/texmf-dist/doc/latex/skak/angletst.tex')

diff --git a/Master/texmf-dist/doc/latex/skak/angletst.tex b/Master/texmf-dist/doc/latex/skak/angletst.tex
new file mode 100644
index 00000000000..7198260c861
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/skak/angletst.tex
@@ -0,0 +1,52 @@
+%% Name:	angletst.tex
+%% Author:	Dirk Baechle
+%% Date:	2003-01-23
+
+\documentclass[12pt]{article}
+
+\usepackage[ps]{skak}
+
+\def\testfileangle#1#2#3{%
+  \texttt{#1 -> #2}
+  \printfileangle{#1}{#2}
+  should be: #3\newline}
+
+\def\testrankangle#1#2#3{%
+  \texttt{#1 -> #2}
+  \printrankangle{#1}{#2}
+  should be: #3\newline}
+
+\begin{document}
+
+\section{Test of the ``\texttt{fileangle}s''}
+
+\testfileangle{a}{b}{0}
+\testfileangle{a}{c}{0}
+\testfileangle{b}{a}{0}\testfileangle{b}{c}{0}\testfileangle{b}{d}{0}
+\testfileangle{c}{a}{180}\testfileangle{c}{b}{0}
+\testfileangle{c}{d}{0}\testfileangle{c}{e}{0}
+\testfileangle{d}{b}{180}\testfileangle{d}{c}{0}
+\testfileangle{d}{e}{0}\testfileangle{d}{f}{0}
+\testfileangle{e}{c}{180}\testfileangle{e}{d}{0}
+\testfileangle{e}{f}{0}\testfileangle{e}{g}{0}
+\testfileangle{f}{d}{180}\testfileangle{f}{e}{0}
+\testfileangle{f}{g}{0}\testfileangle{f}{h}{0}
+\testfileangle{g}{e}{180}\testfileangle{g}{f}{0}\testfileangle{g}{h}{0}
+\testfileangle{h}{f}{180}\testfileangle{h}{g}{0}
+
+\section{Test of the ``\texttt{rankangle}s''}
+
+\testrankangle{1}{2}{0}\testrankangle{1}{3}{90}
+\testrankangle{2}{1}{0}\testrankangle{2}{3}{0}\testrankangle{2}{4}{90}
+\testrankangle{3}{1}{270}\testrankangle{3}{2}{0}
+\testrankangle{3}{4}{0}\testrankangle{3}{5}{90}
+\testrankangle{4}{2}{270}\testrankangle{4}{3}{0}
+\testrankangle{4}{5}{0}\testrankangle{4}{6}{90}
+\testrankangle{5}{3}{270}\testrankangle{5}{4}{0}
+\testrankangle{5}{6}{0}\testrankangle{5}{7}{90}
+\testrankangle{6}{4}{270}\testrankangle{6}{5}{0}
+\testrankangle{6}{7}{0}\testrankangle{6}{8}{90}
+\testrankangle{7}{5}{270}\testrankangle{7}{6}{0}\testrankangle{7}{8}{0}
+\testrankangle{8}{6}{270}\testrankangle{8}{7}{0}
+
+\end{document}
-- 
cgit v1.2.3

