mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
removed main method from ObjectColor
This commit is contained in:
parent
c925b649b3
commit
0b3cbdecb1
1 changed files with 0 additions and 20 deletions
|
@ -271,26 +271,6 @@ public class ObjectColor implements Serializable, Copyable<ObjectColor>, Compara
|
|||
return new ObjectColor(this);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(new ObjectColor().shares(new ObjectColor()));
|
||||
System.out.println(new ObjectColor("W").shares(new ObjectColor("W")));
|
||||
System.out.println(new ObjectColor("U").shares(new ObjectColor("U")));
|
||||
System.out.println(new ObjectColor("B").shares(new ObjectColor("B")));
|
||||
System.out.println(new ObjectColor("R").shares(new ObjectColor("R")));
|
||||
System.out.println(new ObjectColor("G").shares(new ObjectColor("G")));
|
||||
System.out.println(new ObjectColor("RG").shares(new ObjectColor("GW")));
|
||||
System.out.println(new ObjectColor("BRGUW").shares(new ObjectColor("U")));
|
||||
System.out.println(new ObjectColor("{2}").shares(new ObjectColor("{1}")));
|
||||
System.out.println(new ObjectColor("WRB").shares(new ObjectColor("UGR")));
|
||||
System.out.println("should be false:");
|
||||
System.out.println(new ObjectColor("RG").shares(new ObjectColor("WU")));
|
||||
System.out.println(new ObjectColor("WRB").shares(new ObjectColor("UG")));
|
||||
System.out.println(new ObjectColor("U").shares(new ObjectColor("R")));
|
||||
System.out.println(new ObjectColor("G").shares(new ObjectColor("B")));
|
||||
System.out.println(new ObjectColor("W").shares(new ObjectColor("1")));
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(ObjectColor o) {
|
||||
int o1 = 0;
|
||||
|
|
Loading…
Reference in a new issue