동시성 테스트
·
TDD
package sample;import static org.junit.jupiter.api.Assertions.*;import java.util.concurrent.ExecutorService;import java.util.concurrent.Executors;import java.util.concurrent.TimeUnit;import java.util.concurrent.atomic.AtomicInteger;import org.junit.jupiter.api.Test;public class SampleTest { private AtomicInteger counter = new AtomicInteger(0); public void increment() { counter.incrementAndGet()..