package hw4;

import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.Test;

import javax.swing.SwingConstants;

class PolySounderWhiteBoxTests {

    @Test
    public void toCodeTest() {
        
        PolySounder ps = new PolySounder(6, SwingConstants.RIGHT);
        assertEquals("120000", ps.toCode("FFXZ3]"));
        
    }
    
}
