blob: d6483c2df40ae532377434cbae564db2c8f4479a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package org.brotli.wrapper.android;
import static junit.framework.Assert.assertEquals;
import androidx.test.core.app.ApplicationProvider;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
@RunWith(RobolectricTestRunner.class)
public final class UseJniTest {
@Before
public void setup() {
JniHelper.context = ApplicationProvider.getApplicationContext();
}
@Test
public void testAnswerToTheUltimateQuestionOfLifeTheUniverseAndEverything() {
assertEquals(42, UseJni.deepThought());
}
}
|