This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
fail() { | |
echo "$0: $*" | |
exit 1 | |
} | |
captured_output=/tmp/captured_output | |
temp_dir=/tmp/test-script-folder | |
rm -rf $temp_dir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Cat { | |
private Bird caughtBird; | |
private boolean isFull = false; | |
public Cat catchBird(Bird bird) { | |
if (caughtBird != null) { | |
throw new RuntimeException("Caught one bird already"); | |
} | |
caughtBird = bird; | |
return this; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package it.xpug.spike.monads.monad; | |
import org.junit.jupiter.api.Test; | |
import java.util.List; | |
import java.util.function.Function; | |
import static it.xpug.spike.monads.monad.TurnstileTest.TurnstileOutput.*; | |
import static it.xpug.spike.monads.monad.TurnstileTest.TurnstileState.LOCKED; | |
import static it.xpug.spike.monads.monad.TurnstileTest.TurnstileState.UNLOCKED; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# See https://pikchr.org/home/doc/trunk/doc/userman.md | |
# And https://pikchr.org/home/pikchrshow | |
# | |
U: ellipse "Unit" mono "tests" mono thickness 0 fill lightgreen | |
move wid 0.2 | |
SHELL: circle wid 200% thickness 0 fill lightblue | |
move wid 0.2 | |
A: ellipse \ | |
"Acceptance" mono "tests" mono \ |
OlderNewer