package org.libgit2.jagged;

import junit.framework.Assert;

import org.junit.Test;

public class VersionTest
{
    @Test
    public void testGetVersion()
    {
        Version jaggedVersion = Version.getVersion();

        Assert.assertEquals(0, jaggedVersion.getMajor());
        Assert.assertEquals(0, jaggedVersion.getMinor());
        Assert.assertEquals(1, jaggedVersion.getRevision());
    }

    @Test
    public void testGetLibGit2Version()
    {
        Version libGit2Version = Version.getLibGit2Version();

        Assert.assertEquals(0, libGit2Version.getMajor());
        Assert.assertEquals(21, libGit2Version.getMinor());
        Assert.assertEquals(0, libGit2Version.getRevision());
    }
}

@@ -651,33 +651,33 @@
 rt.assertEquals(
-0
+3
 , libGit2Version

update for libgit2 0.21.3