equal
deleted
inserted
replaced
33 public class TestEpsilonEnabled extends AbstractEpsilonTest { |
33 public class TestEpsilonEnabled extends AbstractEpsilonTest { |
34 public static void main(String[] args) throws Exception { |
34 public static void main(String[] args) throws Exception { |
35 if (Platform.isDebugBuild() && !isEpsilonEnabled()) { |
35 if (Platform.isDebugBuild() && !isEpsilonEnabled()) { |
36 throw new IllegalStateException("Debug builds should have Epsilon enabled"); |
36 throw new IllegalStateException("Debug builds should have Epsilon enabled"); |
37 } |
37 } |
38 if (!Platform.isDebugBuild() && isEpsilonEnabled()) { |
38 if (!Platform.isDebugBuild() && !isEpsilonEnabled()) { |
39 throw new IllegalStateException("Non-debug builds should have Epsilon disabled"); |
39 throw new IllegalStateException("Non-debug builds should have Epsilon enabled"); |
40 } |
40 } |
41 } |
41 } |
42 } |
42 } |