Skip to content

Instantly share code, notes, and snippets.

View maosmurf's full-sized avatar

Adam Zielinski maosmurf

View GitHub Profile
# see "MPMP: Prime Pairs Puzzle" @ Matt_Parker_2
# https://www.youtube.com/watch?v=AXfl_e33Gt4
import copy
def is_prime(x):
if x < 2:
return False
if x == 2:
return True
@maosmurf
maosmurf / DigitParserTest
Created January 22, 2020 19:27
JUnit5 @ParameterizedTest
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class DigitParserTest {
@maosmurf
maosmurf / technical-due-diligence.md
Created January 28, 2019 08:45 — forked from DoubleMalt/technical-due-diligence.md
A checklist what you should ask when talking over a code base

Technical Due Diligence

Architecture

  • Component Overview
  • Technologies (DB, Languages, Frameworks)

Functionalities