tests: add a first regression test
This commit is contained in:
parent
96d6724ac0
commit
65fb11f725
|
@ -4,6 +4,8 @@ module = "moloch"
|
|||
|
||||
sourcefiledir = "src"
|
||||
typesetfiles = { "doc/moloch.tex" }
|
||||
checkengines = { "pdftex" }
|
||||
checksuppfiles = { "*.tex" }
|
||||
|
||||
function update_tag(file, content, tagname, tagdate)
|
||||
if string.match(file, "%.dtx$") then
|
||||
|
|
|
@ -0,0 +1,111 @@
|
|||
\input regression-test
|
||||
|
||||
\title{Moloch Test Suite}
|
||||
\subtitle{A subtitle that is way to long and in fact might just need to be split across lines}
|
||||
|
||||
\author[Johan]{Johan Larsson}
|
||||
\institute[LU]{Lund Univesity//Department of Statistics}
|
||||
\date{\today}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\START
|
||||
\showoutput
|
||||
|
||||
\begin{frame}{Table of contents}
|
||||
\setbeamertemplate{section in toc}[sections numbered]
|
||||
\tableofcontents[hideallsubsections]
|
||||
\end{frame}
|
||||
|
||||
\section{Results}
|
||||
|
||||
\subsection{Proof of the Main Theorem}
|
||||
|
||||
\begin{frame}<1>
|
||||
\frametitle{There Is No Largest Prime Number}
|
||||
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
|
||||
|
||||
\begin{theorem}
|
||||
There is no largest prime number.
|
||||
\end{theorem}
|
||||
\begin{proof}
|
||||
\begin{enumerate}
|
||||
\item<1-| alert@1> Suppose $p$ were the largest prime number.
|
||||
\item<2-> Let $q$ be the product of the first $p$ numbers.
|
||||
\item<3-> Then $q$\;+\,$1$ is not divisible by any of them.
|
||||
\item<1-> Thus $q$\;+\,$1$ is also prime and greater than $p$.\qedhere
|
||||
\end{enumerate}
|
||||
\end{proof}
|
||||
\end{frame}
|
||||
|
||||
{
|
||||
\molochset{titleformat frame=smallcaps}
|
||||
\begin{frame}{Small caps}
|
||||
This frame uses the \texttt{smallcaps} title format.
|
||||
|
||||
\begin{block}{Block}
|
||||
Some content
|
||||
\end{block}
|
||||
|
||||
\begin{alertblock}{Alert Block}
|
||||
Yet more content
|
||||
\end{alertblock}
|
||||
|
||||
\begin{exampleblock}{Example Block}
|
||||
Just to try out the different blocks
|
||||
|
||||
\end{exampleblock}
|
||||
\end{frame}
|
||||
}
|
||||
|
||||
{
|
||||
\molochset{titleformat frame=allsmallcaps}
|
||||
\begin{frame}{All small caps}
|
||||
This frame uses the \texttt{allsmallcaps} title format.
|
||||
\end{frame}
|
||||
}
|
||||
|
||||
{
|
||||
\molochset{titleformat frame=allcaps}
|
||||
\begin{frame}{All caps}
|
||||
This frame uses the \texttt{allcaps} title format.
|
||||
\end{frame}
|
||||
}
|
||||
|
||||
\begin{frame}{Lists}
|
||||
\begin{columns}[T,onlytextwidth]
|
||||
\column{0.33\textwidth}
|
||||
Items
|
||||
\begin{itemize}
|
||||
\item Milk \item Eggs \item Potatoes
|
||||
\end{itemize}
|
||||
|
||||
\column{0.33\textwidth}
|
||||
Enumerations
|
||||
\begin{enumerate}
|
||||
\item First, \item Second and \item Last.
|
||||
\end{enumerate}
|
||||
|
||||
\column{0.33\textwidth}
|
||||
Descriptions
|
||||
\begin{description}
|
||||
\item[PowerPoint] Meeh. \item[Beamer] Yeeeha.
|
||||
\end{description}
|
||||
\end{columns}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}{Animation}
|
||||
\begin{itemize}[<+- | alert@+>]
|
||||
\item \alert<4>{This is\only<4>{ really} important}
|
||||
\item Now this
|
||||
\item And now this
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
||||
\appendix
|
||||
|
||||
\begin{frame}{Backup slides}
|
||||
Here are some backup slides
|
||||
\end{frame}
|
||||
|
||||
\end{document}
|
|
@ -0,0 +1,5 @@
|
|||
\documentclass[hyperref={draft}]{beamer}
|
||||
|
||||
\usetheme{moloch}
|
||||
|
||||
\input{molochtheme}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue