Skip to content

Instantly share code, notes, and snippets.

@oscarryz
Created October 20, 2014 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oscarryz/8f7847fc3a3045f85ac6 to your computer and use it in GitHub Desktop.
Save oscarryz/8f7847fc3a3045f85ac6 to your computer and use it in GitHub Desktop.
//C://{user}/src/main/tu/paquete/aqui/Importante.java
package tu.paquete.aqui;
class Importante {
public int foo( int a ) {
return a * 10;
}
}
// C://{user}/src/text/tu/paqeute/aqui/ImportanteTest.java
package tu.paquete.aqui;
class ImportanteTest {
pbulic void testFoo() {
Importante i = new Importante();
assert i.foo(1) == 10;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment