view src/test/java/jp/ac/u_ryukyu/cr/ie/tatsuki/functionTest/RolePriorityTest.java @ 32:b8d86bc46b51

remove warning and rename src file
author one
date Sun, 09 Nov 2014 17:56:49 +0900
parents src/test/java/jp/ac/u_ryukyu/cr/ie/tatsuki/functionTest/rolePriorityTest.java@7f70341a78bc
children c036d36c33af
line wrap: on
line source

package jp.ac.u_ryukyu.cr.ie.tatsuki.functionTest;

import org.junit.Test;

import jp.ac.u_ryukyu.cr.ie.tatsuki.bbs.JuGrix;
import junit.framework.Assert;

public class RolePriorityTest {

	@Test
	public void testRolePriority(){
		JuGrix jugrix = new JuGrix(false);
		String priority = jugrix.rolePriority("p:1", "r:34");
		Assert.assertEquals(priority,"1");
		
		jugrix = new JuGrix(true);
    priority = jugrix.rolePriority("p:1", "r:34");
    Assert.assertEquals(priority,"1");
	}
}