CS考试辅导 package comp1110.exam;
package comp1110.exam; import org.junit.Before; import org.junit.Rule; Copyright By PowCoder代写 加微信 powcoder import org.junit.Test; import org.junit.rules.Timeout; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; public class Q2ChecksumTest { public Timeout globalTimeout = Timeout.millis(1000); static final String INPUT_FILENAME_BASE = “assets/Q2Checksum”; static final String OUTPUT_FILENAME = “assets/Q2output”; public void setup() { Files.deleteIfExists(Paths.get(OUTPUT_FILENAME)); } catch […]
CS考试辅导 package comp1110.exam; Read More »