mirror of https://github.com/rusefi/rusefi.git
15 lines
398 B
Java
15 lines
398 B
Java
package com.rusefi.test;
|
|
|
|
//import com.rusefi.ui.widgets.PotCommand;
|
|
import junit.framework.TestCase;
|
|
import org.junit.Test;
|
|
|
|
public class VoltageDividerTest extends TestCase {
|
|
|
|
@Test
|
|
public void testR1() {
|
|
// assertEquals(2000.0, PotCommand.getR1InVoltageDivider3(1, 5, 10000));
|
|
//
|
|
// assertEquals(2040.816326530612, PotCommand.getR1InVoltageDivider3(1, 4.9, 10000));
|
|
}
|
|
} |