Commit cfa9f909 authored by uyunx's avatar uyunx 🎧
Browse files

Add test for division edge cases

parent 68a19eb5
Pipeline #188104 failed with stage
in 14 minutes and 17 seconds
class Division {
public static void main(String[] args) {
new Division().printDiv(-2147483648, -1);
new Division().printMod(-2147483648, -1);
}
public void printMod(int a, int b) {
System.out.println(a % b);
}
public void printDiv(int a, int b) {
System.out.println(a / b);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment