import static com.greghaskins.spectrum.dsl.gherkin.Gherkin.example;
import static com.greghaskins.spectrum.dsl.gherkin.Gherkin.feature;
import static com.greghaskins.spectrum.dsl.gherkin.Gherkin.given;
import static com.greghaskins.spectrum.dsl.gherkin.Gherkin.then;
import static com.greghaskins.spectrum.dsl.gherkin.Gherkin.when;
import static com.greghaskins.spectrum.dsl.gherkin.Gherkin.withExamples;
import static java.util.Arrays.asList;
import org.junit.runner.RunWith;
import com.greghaskins.spectrum.Spectrum;
import static com.greghaskins.spectrum.dsl.gherkin.Gherkin.scenarioOutline;
@RunWith(Spectrum.class)
public class MaxPairWIzeTest {
{
feature("find the max pair wise product", () -> {
scenarioOutline("intialise evaluation with", (inputSample, resultOutput) -> {
given("some integers: " + asList(inputSample), () -> {
});
when("computing the max pairwise product", () -> {
});
then("the result should be " + resultOutput, () -> {
});
}, withExamples(example(new int[] { 3, 4, 81, 1 }, 324L), example(new int[] { 5, 7, 2, 8 }, 56L)));
});
}
}
--
You received this message because you are subscribed to the Google Groups "Xtend Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtend-lang+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
class SomClass{
{
feature('some feature' [])
}
}
To unsubscribe from this group and stop receiving emails from it, send an email to xtend-lang+...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Xtend Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtend-lang+unsubscribe@googlegroups.com.