initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / test / Hashing / hashingTests
blob162854bbefcedf30038a7bb7ef5c35149ad6d3e8
1 /*-------------------------------*- C++ -*---------------------------------*\
2 |    =========                                                              |
3 |    \\      /     OpenFOAM                                                 |
4 |     \\    /                                                               |
5 |      \\  /       The Open Source CFD Toolbox                              |
6 |       \\/                                        http://www.OpenFOAM.org  |
7 \*-------------------------------------------------------------------------*/
9 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
11 stringList
13     "The quick brown fox jumps over the lazy dog"
14     "The best hash is the one you don't write yourself!"
18 labelList
20     0
21     1
22     100
23     1000
24     -1
25     -10
26     -100
29 labelListList
31     (0)
32     (0 0)
33     (0 0 0)
34     (0 1)
35     (100 1000)
36     (0 1 100 1000)
39 // edges are hashed commutatively
40 edgeList
42     (0 1)
43     (1 0)
44     (45 100)
45     (100 45)
46     (128 1000)
47     (1000 128)
50 // triFaces are also hashed commutatively (via multiply/add)
51 triFaceList
53     (10 20 30)
54     (30 20 10)
55     (20 10 30)
59 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //