view src/test/java/jp/ac/u_ryukyu/cr/ie/tatsuki/functionTest/rolePriorityTest.java @ 31:7f70341a78bc

all function use index
author one
date Sat, 08 Nov 2014 06:31:14 +0900
parents 5ef4b1004ade
children
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 rolePriorityTest(){
		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");
	}
}