@Test public void testRubyFactorial() { String n = Services.getDefault().algorithms.ruby(3); assertEquals("Factorial of 3", "6", n); }
public static Services getDefault() { return INSTANCE; }
Services { public static Services getDefault() { return INSTANCE; } }
Services { public static Services getDefault() { return INSTANCE; } Services(Require require, Global global, Worker worker); }
Services { public static Services getDefault() { return INSTANCE; } Services(Require require, Global global, Worker worker); static Services getDefault(); void postInit(Algorithms newAlgorithms); BigInteger factorial(int value); }
Services { public static Services getDefault() { return INSTANCE; } Services(Require require, Global global, Worker worker); static Services getDefault(); void postInit(Algorithms newAlgorithms); BigInteger factorial(int value);  }