Skip to content

inf295uci-2015/primitive-hamcrest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

primitive-hamcrest

Build Status Coverage Status

Basic hamcrest matchers with Java Primitives in mind.

Installation Instructions

  • Install the mvn package to your local repository.
    git clone https://github.com/inf295uci-2015/primitive-hamcrest.git  
    cd primitive-hamcrest  
    mvn test # just to make sure that everything works  
    mvn install # installs this to your local repository  
  • Include the following dependency in your pom.xml
    <dependency>
      <groupId>org.spideruci.hamcrest</groupId>
      <artifactId>primitive-hamcrest</artifactId>
      <version>0.0.1-SNAPSHOT</version>
    </dependency>

Features

Currently the library supports veryifying if a primitive array contains all of the given primitive elements for the following primitive types:

  • int array
  • float array
  • byte array
  • short array
  • char array
  • boolean array
  • double array
  • long array

Releases

No releases published

Packages

No packages published

Languages