• nanirajesh gullapalli
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Student

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
@isTest
public class TestVerifyDate {
public @isTest static void checkcorrect()
{
    Date vd=VerifyDate.CheckDates(Date.valueOf('2016-01-01'), Date.valueOf('2016-01-21'));
    System.assertEquals(Date.valueOf('2016-01-21'), vd);
}
  public  @isTest static void checkWrong()
  {
       Date vd=VerifyDate.CheckDates(Date.valueOf('2016-02-01'), Date.valueOf('2016-01-21'));
    System.assertEquals(Date.valueOf('2016-02-29'), vd);
  }
     public  @isTest static void checkincorrect()
  {
       Date vd=VerifyDate.CheckDates(Date.valueOf('2016-02-01'), Date.valueOf('2016-03-21'));
    System.assertEquals(Date.valueOf('2016-02-29'), vd);
  }
}
Apart from providing Sweatshirt for those who earned 5 badges are you providing any other gifts which are shown in the picture like Camera ,bottle ,etc.
If so how many badges should we earn