Skip to content

Commit

Permalink
Arrayname ist jetzt passender.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole Rauch committed Oct 17, 2018
1 parent 7a18fd5 commit 2b2c49d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions slides/contents.tex
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,11 @@
*Main> quickCheck prop_RevId
*** Failed! Falsifiable (after 7 tests and 3 shrinks):
[0,1]
\end{lstlisting}

\onslide+<7->
\vspace{-0.55em}
\begin{lstlisting}
*Main> quickCheck prop_RevId
*** Failed! Falsifiable (after 4 tests and 1 shrink):
[1,0]
Expand Down Expand Up @@ -663,7 +668,7 @@

while (count < 50) {
count++;
requests.push(chooseFrom(modifyingRequestGenerator)());
requests.push(chooseFrom(modifyingRequests)());
}

async.mapSeries(requests, requestAndCompare, (err, results) => {
Expand All @@ -685,7 +690,7 @@
() => ({url: '/reset', method: 'DELETE'}),
];

const modifyingRequestGenerator = [
const modifyingRequests = [
// addPet
() => ({url: '/pets', method: 'POST', json: true, body: randomPet()}),
// removePet
Expand Down Expand Up @@ -730,7 +735,7 @@

while (count < 50) {
count++;
requests.push(chooseFrom(modifyingRequestGenerator)());
requests.push(chooseFrom(modifyingRequests)());
}

async.mapSeries(requests, requestAndCompare, (err, results) => {
Expand Down
Binary file modified slides/slides.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions sources/model/src/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const resets = [
() => ({url: '/reset', method: 'DELETE'}),
];

const modifyingRequestGenerator = [
const modifyingRequests = [
// addPet
() => ({url: '/pets', method: 'POST', json: true, body: randomPet()}),
// removePet
Expand Down Expand Up @@ -95,7 +95,7 @@ let count = 0;

while (count < 50) {
count++;
requests.push(chooseFrom(modifyingRequestGenerator)());
requests.push(chooseFrom(modifyingRequests)());
}

async.mapSeries(requests, requestAndCompare, (err, results) => {
Expand Down

0 comments on commit 2b2c49d

Please sign in to comment.