summaryrefslogtreecommitdiff
path: root/israfil-foundation-nspace/src/test/java/net/israfil/foundation/collections/nspace/SparseNSpaceTest.java
blob: b291a231af71cfdffa2ae0c4567188a6998a815c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
 * Copyright (c) 2003, Mishkin Berteig and Christian Gruber
 *
 * $Id: SparseNSpaceTest.java 261 2005-05-15 13:36:26Z cgruber $
 */
package net.israfil.foundation.collections.nspace;

import org.testng.Assert;
import org.testng.SkipException;
import org.testng.annotations.Test;

/**
 * @author <a href="mailto:mishkin@berteig.com">Mishkin Berteig</a>
 * @author <a href="mailto:cgruber@israfil.net">Christian Gruber</a>
 * @version $Revision: 261 $
 */
@Test
public class SparseNSpaceTest {

	public void testCreateDimension_String_String() {
		throw new SkipException("Unimplemented Test");
	}

	public void testDeleteDimension_Dimension() {
		throw new SkipException("Unimplemented Test");
	}

	public void testDimensionAddedPosition() {
		throw new SkipException("Unimplemented Test");
	}

	public void testDimensionRemovedPosition() {
		throw new SkipException("Unimplemented Test");
	}

	public void testGetDimension_String() {
		throw new SkipException("Unimplemented Test");
	}

	public void testGetDimensions() {
		throw new SkipException("Unimplemented Test");
	}

	public void testGetValue() throws InvalidDimensionalityException {
		NSpace space = new SparseNSpace();
		throw new SkipException("Unimplemented Test");
	}

	public void testIsPoint() throws DimensionExistsException {
		NSpace space = new SparseNSpace();
		Assert.assertTrue(space.isPoint());
		
		// Create two "thin" dimensions.
		space.createDimension("TestDimension1","TestOrdinal");
		space.createDimension("TestDimension2","TestOrdinal");
		
		Assert.assertTrue(space.isPoint());
		/*
		space.createDimension("TestDimension3","TestOrdinal1")
			 .addPosition("TestOrdinal2");
		Assert.assertFalse(space.isPoint());
		*/
	}

	public void testLookup_Coordinate() {
		throw new SkipException("Unimplemented Test");
	}

	/*
	 * Test for NSpace setValue(Coordinate, NSpace)
	 */
	public void testSetValue_Coordinate_NSpace() {
		throw new SkipException("Unimplemented Test");
	}
	
	/*
	 * Test for NSpace setValue(Coordinate, Object)
	 */
	public void testSetValue_Coordinate_Object() {
		throw new SkipException("Unimplemented Test");
	}

	public void testSlice() {
		throw new SkipException("Unimplemented Test");
	}

}