// Path: pi-ezo/src/main/java/org/onebeartoe/media/piezo/ports/rtttl/RtttlSong.java
// public static final int TITLE_LENGTH_MAX = 50;


import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import static org.junit.Assert.*;
import static org.onebeartoe.media.piezo.ports.rtttl.RtttlSong.TITLE_LENGTH_MAX;
    public void tearDown()
    {
    }

    /**
     * Test of getSongs method, of class BuiltInSongs.
     */
    @org.junit.Test
    public void testGetSongs()
    {
        List<RtttlSong> result = builtInSongs.getSongs();
        assertNotNull(result);
        
        int size = result.size();
        assertTrue(size > 0);
    }
    
    @org.junit.Test
    public void testTitleLengths()
    {
        List<RtttlSong> result = builtInSongs.getSongs();
        
        for(RtttlSong song : result)
        {
            String title = song.getTitle();
            assertNotNull(title);

            int length = title.length();
            assertTrue(length != 0);
            
// Path: pi-ezo/src/main/java/org/onebeartoe/media/piezo/ports/rtttl/RtttlSong.java
// public static final int TITLE_LENGTH_MAX = 50;


// Path: pi-ezo/src/test/java/org/onebeartoe/media/piezo/ports/rtttl/BuiltInSongsTest.java
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import static org.junit.Assert.*;
import static org.onebeartoe.media.piezo.ports.rtttl.RtttlSong.TITLE_LENGTH_MAX;

    public void tearDown()
    {
    }

    /**
     * Test of getSongs method, of class BuiltInSongs.
     */
    @org.junit.Test
    public void testGetSongs()
    {
        List<RtttlSong> result = builtInSongs.getSongs();
        assertNotNull(result);
        
        int size = result.size();
        assertTrue(size > 0);
    }
    
    @org.junit.Test
    public void testTitleLengths()
    {
        List<RtttlSong> result = builtInSongs.getSongs();
        
        for(RtttlSong song : result)
        {
            String title = song.getTitle();
            assertNotNull(title);

            int length = title.length();
            assertTrue(length != 0);
            
            assertTrue(length <= TITLE_LENGTH_MAX);