change domain name to doric.pub

This commit is contained in:
pengfei.zhou 2019-10-21 09:13:52 +08:00
parent f9b599e7cf
commit a72bd3df37
51 changed files with 159 additions and 204 deletions

View File

@ -1,17 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.penfeizhou.doricdemo">
package="pub.doric.demo">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name="com.github.penfeizhou.doricdemo.MyApplication"
android:name=".MyApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/AppTheme">
<activity android:name="com.github.penfeizhou.doricdemo.MainActivity">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@ -1,8 +1,9 @@
package com.github.penfeizhou.doricdemo;
import com.github.penfeizhou.doric.DoricComponent;
import com.github.penfeizhou.doric.DoricLibrary;
import com.github.penfeizhou.doric.DoricRegistry;
package pub.doric.demo;
import pub.doric.DoricComponent;
import pub.doric.DoricLibrary;
import pub.doric.DoricRegistry;
/**
* @Description: com.github.penfeizhou.doricdemo

View File

@ -1,13 +1,13 @@
package com.github.penfeizhou.doricdemo;
package pub.doric.demo;
import android.widget.Toast;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import com.github.penfeizhou.doric.extension.bridge.DoricPromise;
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
import com.github.penfeizhou.doric.utils.ThreadMode;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricMethod;
import pub.doric.extension.bridge.DoricPlugin;
import pub.doric.extension.bridge.DoricPromise;
import pub.doric.plugin.DoricJavaPlugin;
import pub.doric.utils.ThreadMode;
import com.github.pengfeizhou.jscore.JavaValue;
/**

View File

@ -1,14 +1,14 @@
package com.github.penfeizhou.doricdemo;
package pub.doric.demo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import com.github.penfeizhou.doric.Doric;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.dev.LocalServer;
import com.github.penfeizhou.doric.utils.DoricUtils;
import pub.doric.Doric;
import pub.doric.DoricContext;
import pub.doric.dev.LocalServer;
import pub.doric.utils.DoricUtils;
import java.io.IOException;

View File

@ -1,9 +1,9 @@
package com.github.penfeizhou.doricdemo;
package pub.doric.demo;
import android.app.Application;
import com.github.penfeizhou.doric.Doric;
import com.github.penfeizhou.doric.DoricRegistry;
import pub.doric.Doric;
import pub.doric.DoricRegistry;
/**
* @Description: Doric

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doricdemo;
package pub.doric.demo;
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule;

View File

@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.github.penfeizhou.doricdemo.MainActivity">
tools:context="com.github.penfeizhou.doricdemo.pub.doric.demo.MainActivity">
<FrameLayout
android:id="@+id/root"

View File

@ -1,26 +0,0 @@
package com.github.penfeizhou.doric.test;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.github.penfeizhou.doric.test", appContext.getPackageName());
}
}

View File

@ -1,2 +1,2 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.penfeizhou.doric" />
package="pub.doric" />

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric;
package pub.doric;
import android.app.Application;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric;
package pub.doric;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View File

@ -1,13 +1,12 @@
package com.github.penfeizhou.doric;
package pub.doric;
import android.content.Context;
import android.view.ViewGroup;
import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
import com.github.penfeizhou.doric.utils.DoricConstant;
import com.github.penfeizhou.doric.utils.DoricMetaInfo;
import com.github.penfeizhou.doric.shader.RootNode;
import pub.doric.async.AsyncResult;
import pub.doric.plugin.DoricJavaPlugin;
import pub.doric.utils.DoricConstant;
import pub.doric.utils.DoricMetaInfo;
import pub.doric.shader.RootNode;
import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JSONBuilder;

View File

@ -1,8 +1,8 @@
package com.github.penfeizhou.doric;
package pub.doric;
import android.content.Context;
import com.github.penfeizhou.doric.async.AsyncResult;
import pub.doric.async.AsyncResult;
import java.util.Collection;
import java.util.Map;

View File

@ -1,15 +1,15 @@
package com.github.penfeizhou.doric;
package pub.doric;
import android.os.Handler;
import android.os.Looper;
import com.github.penfeizhou.doric.async.AsyncCall;
import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.penfeizhou.doric.dev.WSClient;
import com.github.penfeizhou.doric.engine.DoricJSEngine;
import com.github.penfeizhou.doric.utils.DoricConstant;
import com.github.penfeizhou.doric.utils.DoricLog;
import com.github.penfeizhou.doric.utils.ThreadMode;
import pub.doric.async.AsyncCall;
import pub.doric.async.AsyncResult;
import pub.doric.dev.WSClient;
import pub.doric.engine.DoricJSEngine;
import pub.doric.utils.DoricConstant;
import pub.doric.utils.DoricLog;
import pub.doric.utils.ThreadMode;
import com.github.pengfeizhou.jscore.JSDecoder;
import java.util.concurrent.Callable;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric;
package pub.doric;
/**
* @Description: com.github.penfeizhou.doric

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric;
package pub.doric;
import android.content.Context;
import android.os.Build;

View File

@ -1,18 +1,18 @@
package com.github.penfeizhou.doric;
package pub.doric;
import android.text.TextUtils;
import com.github.penfeizhou.doric.plugin.ShaderPlugin;
import com.github.penfeizhou.doric.shader.HLayoutNode;
import com.github.penfeizhou.doric.shader.ImageNode;
import com.github.penfeizhou.doric.shader.RootNode;
import com.github.penfeizhou.doric.shader.StackNode;
import com.github.penfeizhou.doric.shader.TextNode;
import com.github.penfeizhou.doric.shader.VLayoutNode;
import com.github.penfeizhou.doric.shader.ViewNode;
import com.github.penfeizhou.doric.utils.DoricMetaInfo;
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
import com.github.penfeizhou.doric.plugin.ModalPlugin;
import pub.doric.plugin.ShaderPlugin;
import pub.doric.shader.HLayoutNode;
import pub.doric.shader.ImageNode;
import pub.doric.shader.RootNode;
import pub.doric.shader.StackNode;
import pub.doric.shader.TextNode;
import pub.doric.shader.VLayoutNode;
import pub.doric.shader.ViewNode;
import pub.doric.utils.DoricMetaInfo;
import pub.doric.plugin.DoricJavaPlugin;
import pub.doric.plugin.ModalPlugin;
import java.util.HashMap;
import java.util.HashSet;

View File

@ -1,8 +1,8 @@
package com.github.penfeizhou.doric;
package pub.doric;
import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.penfeizhou.doric.utils.ThreadMode;
import pub.doric.async.AsyncResult;
import pub.doric.utils.ThreadMode;
import com.github.pengfeizhou.jscore.JSDecoder;
import java.util.concurrent.Callable;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.async;
package pub.doric.async;
import android.os.Handler;
import android.os.Looper;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.async;
package pub.doric.async;
/**
* @Description: com.github.penfeizhou.doric.async

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.async;
package pub.doric.async;
/**
* @Description: com.github.penfeizhou.doric.async

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.dev;
package pub.doric.dev;
import android.content.Context;
import android.content.res.AssetManager;
@ -6,9 +6,9 @@ import android.net.Uri;
import android.util.Log;
import android.webkit.MimeTypeMap;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.DoricContextManager;
import com.github.penfeizhou.doric.DoricDriver;
import pub.doric.DoricContext;
import pub.doric.DoricContextManager;
import com.github.pengfeizhou.jscore.JSONBuilder;
import org.json.JSONArray;

View File

@ -1,13 +1,11 @@
package com.github.penfeizhou.doric.dev;
package pub.doric.dev;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.DoricContextManager;
import com.github.penfeizhou.doric.DoricDriver;
import pub.doric.DoricContext;
import pub.doric.DoricContextManager;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.engine;
package pub.doric.engine;
import android.os.Handler;
import android.os.HandlerThread;
@ -6,12 +6,12 @@ import android.os.Looper;
import android.os.Message;
import android.text.TextUtils;
import com.github.penfeizhou.doric.DoricRegistry;
import com.github.penfeizhou.doric.extension.bridge.DoricBridgeExtension;
import com.github.penfeizhou.doric.extension.timer.DoricTimerExtension;
import com.github.penfeizhou.doric.utils.DoricConstant;
import com.github.penfeizhou.doric.utils.DoricLog;
import com.github.penfeizhou.doric.utils.DoricUtils;
import pub.doric.DoricRegistry;
import pub.doric.extension.bridge.DoricBridgeExtension;
import pub.doric.extension.timer.DoricTimerExtension;
import pub.doric.utils.DoricConstant;
import pub.doric.utils.DoricLog;
import pub.doric.utils.DoricUtils;
import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JavaFunction;
import com.github.pengfeizhou.jscore.JavaValue;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.engine;
package pub.doric.engine;
import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JSExecutor;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.engine;
package pub.doric.engine;
import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JSRuntimeException;

View File

@ -1,13 +1,13 @@
package com.github.penfeizhou.doric.extension.bridge;
package pub.doric.extension.bridge;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.DoricRegistry;
import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
import com.github.penfeizhou.doric.DoricContextManager;
import com.github.penfeizhou.doric.utils.DoricLog;
import com.github.penfeizhou.doric.utils.DoricMetaInfo;
import com.github.penfeizhou.doric.utils.DoricUtils;
import pub.doric.DoricContext;
import pub.doric.async.AsyncResult;
import pub.doric.plugin.DoricJavaPlugin;
import pub.doric.DoricContextManager;
import pub.doric.utils.DoricLog;
import pub.doric.utils.DoricMetaInfo;
import pub.doric.utils.DoricUtils;
import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JavaValue;

View File

@ -1,6 +1,6 @@
package com.github.penfeizhou.doric.extension.bridge;
package pub.doric.extension.bridge;
import com.github.penfeizhou.doric.utils.ThreadMode;
import pub.doric.utils.ThreadMode;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.extension.bridge;
package pub.doric.extension.bridge;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View File

@ -1,7 +1,7 @@
package com.github.penfeizhou.doric.extension.bridge;
package pub.doric.extension.bridge;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.utils.DoricConstant;
import pub.doric.DoricContext;
import pub.doric.utils.DoricConstant;
import com.github.pengfeizhou.jscore.JavaValue;
/**

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.extension.timer;
package pub.doric.extension.timer;
import android.os.Handler;
import android.os.Looper;

View File

@ -1,7 +1,7 @@
package com.github.penfeizhou.doric.plugin;
package pub.doric.plugin;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.utils.DoricContextHolder;
import pub.doric.DoricContext;
import pub.doric.utils.DoricContextHolder;
/**
* @Description: Doric

View File

@ -1,12 +1,12 @@
package com.github.penfeizhou.doric.plugin;
package pub.doric.plugin;
import android.widget.Toast;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
import com.github.penfeizhou.doric.extension.bridge.DoricPromise;
import com.github.penfeizhou.doric.utils.ThreadMode;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricPlugin;
import pub.doric.extension.bridge.DoricMethod;
import pub.doric.extension.bridge.DoricPromise;
import pub.doric.utils.ThreadMode;
import com.github.pengfeizhou.jscore.ArchiveException;
import com.github.pengfeizhou.jscore.JSDecoder;

View File

@ -1,11 +1,11 @@
package com.github.penfeizhou.doric.plugin;
package pub.doric.plugin;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import com.github.penfeizhou.doric.utils.DoricLog;
import com.github.penfeizhou.doric.utils.ThreadMode;
import com.github.penfeizhou.doric.shader.RootNode;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricMethod;
import pub.doric.extension.bridge.DoricPlugin;
import pub.doric.utils.DoricLog;
import pub.doric.utils.ThreadMode;
import pub.doric.shader.RootNode;
import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JSObject;

View File

@ -1,8 +1,7 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RectF;

View File

@ -1,10 +1,10 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.util.SparseArray;
import android.view.ViewGroup;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.utils.DoricUtils;
import pub.doric.DoricContext;
import pub.doric.utils.DoricUtils;
import com.github.pengfeizhou.jscore.JSArray;
import com.github.pengfeizhou.jscore.JSObject;
import com.github.pengfeizhou.jscore.JSValue;

View File

@ -1,9 +1,9 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.widget.LinearLayout;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricPlugin;
import com.github.pengfeizhou.jscore.JSObject;
/**

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.graphics.drawable.Drawable;
import android.support.annotation.Nullable;
@ -10,8 +10,8 @@ import com.bumptech.glide.load.DataSource;
import com.bumptech.glide.load.engine.GlideException;
import com.bumptech.glide.request.RequestListener;
import com.bumptech.glide.request.target.Target;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricPlugin;
import com.github.pengfeizhou.jscore.JSObject;
import com.github.pengfeizhou.jscore.JSValue;

View File

@ -1,11 +1,11 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.graphics.drawable.ShapeDrawable;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.utils.DoricUtils;
import pub.doric.DoricContext;
import pub.doric.utils.DoricUtils;
import com.github.pengfeizhou.jscore.JSObject;
import com.github.pengfeizhou.jscore.JSValue;

View File

@ -1,11 +1,11 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricPlugin;
import com.github.pengfeizhou.jscore.JSObject;
/**

View File

@ -1,10 +1,10 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricPlugin;
import com.github.pengfeizhou.jscore.JSObject;
import com.github.pengfeizhou.jscore.JSValue;

View File

@ -1,11 +1,11 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.util.TypedValue;
import android.view.ViewGroup;
import android.widget.TextView;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricPlugin;
import com.github.pengfeizhou.jscore.JSObject;
import com.github.pengfeizhou.jscore.JSValue;

View File

@ -1,9 +1,9 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.widget.LinearLayout;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricPlugin;
import com.github.pengfeizhou.jscore.JSObject;
/**

View File

@ -1,16 +1,16 @@
package com.github.penfeizhou.doric.shader;
package pub.doric.shader;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.DoricRegistry;
import com.github.penfeizhou.doric.utils.DoricContextHolder;
import com.github.penfeizhou.doric.utils.DoricConstant;
import com.github.penfeizhou.doric.utils.DoricMetaInfo;
import com.github.penfeizhou.doric.utils.DoricUtils;
import pub.doric.DoricContext;
import pub.doric.DoricRegistry;
import pub.doric.utils.DoricContextHolder;
import pub.doric.utils.DoricConstant;
import pub.doric.utils.DoricMetaInfo;
import pub.doric.utils.DoricUtils;
import com.github.pengfeizhou.jscore.JSObject;
import com.github.pengfeizhou.jscore.JSValue;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.utils;
package pub.doric.utils;
/**
* @Description: Doric

View File

@ -1,6 +1,6 @@
package com.github.penfeizhou.doric.utils;
package pub.doric.utils;
import com.github.penfeizhou.doric.DoricContext;
import pub.doric.DoricContext;
/**
* @Description: com.github.penfeizhou.doric.utils

View File

@ -1,9 +1,9 @@
package com.github.penfeizhou.doric.utils;
package pub.doric.utils;
import android.text.TextUtils;
import android.util.Log;
import com.github.penfeizhou.doric.Doric;
import pub.doric.Doric;
/**
* @Description: Doric

View File

@ -1,10 +1,10 @@
package com.github.penfeizhou.doric.utils;
package pub.doric.utils;
import android.text.TextUtils;
import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricMethod;
import pub.doric.extension.bridge.DoricPlugin;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.utils;
package pub.doric.utils;
import android.content.Context;
import android.content.res.AssetManager;
@ -7,7 +7,7 @@ import android.util.DisplayMetrics;
import android.view.Display;
import android.view.WindowManager;
import com.github.penfeizhou.doric.Doric;
import pub.doric.Doric;
import com.github.pengfeizhou.jscore.JSArray;
import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JSONBuilder;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.utils;
package pub.doric.utils;
/**
* @Description: com.github.penfeizhou.doric.utils

View File

@ -1,17 +0,0 @@
package com.github.penfeizhou.doric.test;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}