Skip to content

Commit

Permalink
#99 Changed name on methods
Browse files Browse the repository at this point in the history
  • Loading branch information
idaame committed Apr 16, 2018
1 parent 9563fb1 commit 3f2eb7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ public void testGetTimeInHRZones() throws Exception {
//

}
/*

@Test
public void testGetHRPercentage() throws Exception {
public void getHRPercentageTest() throws Exception {

//imports athlete and workout from db for testing
Athlete athlete1 = db.getAthlete("williamkvaale");
Expand All @@ -78,5 +78,5 @@ public void testGetHRPercentage() throws Exception {
assertFalse(percentageInHRZones.equals(Arrays.asList(12,12,10)));


}*/
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,9 @@ public void testGetAllWorkoutsNonExistingAthlete() {


//_______jUnit_______
/*

@Test
public void testGetAthlete() throws Exception {
public void getAthleteTest() throws Exception {

//adds athlete for testing
Athlete athlete1 = new Athlete("TeddyWestside", "theodor","Bajsunge");
Expand All @@ -464,7 +464,7 @@ public void testGetAthlete() throws Exception {


@Test
public void testGetCoach() throws Exception {
public void getCoachTest() throws Exception {

//adds coack for testing
Coach coach1 = new Coach("petter22", "petter123","Petter");
Expand All @@ -483,7 +483,7 @@ public void testGetCoach() throws Exception {


@Test
public void testGetWorkout() throws Exception {
public void getWorkoutTest() throws Exception {

//creates athlete and workout for testing
Athlete athlete1 = new Athlete("williamkvaale","test123","William Kvaale");
Expand All @@ -507,7 +507,7 @@ public void testGetWorkout() throws Exception {


@Test
public void testGetPulseList() throws Exception {
public void getPulseListTest() throws Exception {

Athlete athl = new Athlete("williamkvaale","test123","William Kvaale");

Expand All @@ -525,7 +525,7 @@ public void testGetPulseList() throws Exception {


}
*/


}

0 comments on commit 3f2eb7d

Please sign in to comment.