|
Groovy example source code file (NullValueTest.groovy)
The Groovy NullValueTest.groovy source code
package org.codehaus.groovy.runtime.memoize
/**
* @author Vaclav Pech
*/
public class NullValueTest extends GroovyTestCase {
public void testEquals() throws Exception {
assert new Memoize.MemoizeNullValue() == new Memoize.MemoizeNullValue()
}
public void testHashCode() throws Exception {
assert new Memoize.MemoizeNullValue().hashCode() == new Memoize.MemoizeNullValue().hashCode()
}
}
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy NullValueTest.groovy source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.