forked from github/wulkanowy-mirror
User short grade names in grades summary (#141)
This commit is contained in:

committed by
Rafał Borcz

parent
dab1bd4ac6
commit
8725640168
@ -75,4 +75,11 @@ public class GradeUtilsTest {
|
||||
assertEquals(R.color.default_grade, GradeUtils.getValueColor("7"));
|
||||
assertEquals(R.color.default_grade, GradeUtils.getValueColor(""));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getShortGradeValueTest() {
|
||||
assertEquals("6", GradeUtils.getShortGradeValue("celujący"));
|
||||
assertEquals("1", GradeUtils.getShortGradeValue("niedostateczny"));
|
||||
assertEquals("wzorowe", GradeUtils.getShortGradeValue("wzorowe"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user