File: conversion.at

package info (click to toggle)
igraph 0.5.4-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,652 kB
  • sloc: ansic: 80,327; sh: 18,837; cpp: 11,796; makefile: 1,376; yacc: 833; xml: 378; lex: 305
file content (40 lines) | stat: -rw-r--r-- 1,557 bytes parent folder | download
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
# Check various conversion functions

# Test suite for the IGraph library.
# Copyright (C) 2006  Gabor Csardi <csardi@rmki.kfki.hu>
# MTA RMKI, Konkoly-Thege Miklos st. 29-33, Budapest 1121, Hungary
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc.,  51 Franklin Street, Fifth Floor, Boston, MA 
# 02110-1301 USA

AT_BANNER([[Conversion functions]])

AT_SETUP([Directed to undirected (igraph_to_undirected):])
AT_KEYWORDS([igraph_to_undirected directedness undirected directed])
AT_COMPILE_CHECK([simple/igraph_to_undirected.c], 
	         [simple/igraph_to_undirected.out])
AT_CLEANUP

AT_SETUP([Graphs from adjacency list (igraph_adjlist):])
AT_KEYWORDS([igraph_adjlist adjacency list adjlist])
AT_COMPILE_CHECK([simple/adjlist.c])
AT_CLEANUP

AT_SETUP([Graph to Laplacian matrix (igraph_laplacian):])
AT_KEYWORDS([igraph_laplacian laplacian matrix])
AT_COMPILE_CHECK([simple/igraph_laplacian.c],
                 [simple/igraph_laplacian.out])
AT_CLEANUP