* the IL code looks.
*/
-#if MOBILE
+#if __MOBILE__
class MathTests
#else
class Tests
#endif
{
-#if !MOBILE
+#if !__MOBILE__
public static int Main (string[] args) {
return TestDriver.RunTests (typeof (Tests), args);
}
return 0;
}
+ public static int test_0_float_abs () {
+ float f = -1.0f;
+
+ if (Math.Abs (f) != 1.0f)
+ return 1;
+ return 0;
+ }
+
public static int test_0_round () {
if (Math.Round (5.0) != 5.0)
return 1;