58 hashtable.put(as<Key>(1), as<Value>(1));
59 hashtable.put(as<Key>(3), as<Value>(9));
60 hashtable.put(as<Key>(5), as<Value>(7));
75#define UNIT_TEST_GROUP( K, V ) \
76 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Hashtable, test0, K, V )
#define UNIT_TEST_GROUP(K, V)
Templated hashtable class.
#define TEST_EQUALITY(v1, v2)
Assert the equality of v1 and v2.
#define TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL(TEST_GROUP, TEST_NAME, TYPE1, TYPE2)
Macro for defining a templated unit test with two template parameters.
Definition of Teuchos::as, for conversions between types.
int size(const Comm< Ordinal > &comm)
Get the number of processes in the communicator.
Concrete serial communicator subclass.
TypeTo as(const TypeFrom &t)
Convert from one value type to another.