### Question:
MxEngine extends Engine { @Override public String getVersion() { int version = JnaUtils.getVersion(); int major = version / 10000; int minor = version / 100 - major * 100; int patch = version % 100; return major + "." + minor + '.' + patch; } private  MxEngine(); @Override String getEngineName(); @Override String getVersion(); @Override boolean hasCapability(String capability); @Override Model newModel(String name, Device device); @Override NDManager newBaseManager(); @Override NDManager newBaseManager(Device device); @Override GradientCollector newGradientCollector(); @Override ParameterServer newParameterServer(Optimizer optimizer); @Override void setRandomSeed(int seed); @Override void debugEnvironment(); @Override String toString(); static final String ENGINE_NAME; }### Answer:
@Test public void testGetVersion() { Engine engine = Engine.getEngine(MxEngine.ENGINE_NAME); Assert.assertEquals(engine.getVersion(), "1.5.0"); }