Introspection fixes
[gnumeric.git] / test / t3001-introspection-simple.pl
blob8c1bcacfd23390a0139bd2d4a751ea98fb6928f5
1 #!/usr/bin/perl -w
2 # -----------------------------------------------------------------------------
4 use strict;
5 use lib ($0 =~ m|^(.*/)| ? $1 : ".");
6 use GnumericTest;
8 &setup_python_environment ();
10 my $python_script = $0;
11 $python_script =~ s/\.pl$/.py/;
12 my $ref = join("",<DATA>);
13 &test_command ($PYTHON . ' ' . &GnumericTest::quotearg ($python_script),
14 sub { $_ eq $ref });
16 __DATA__
17 Number of columns: 256
18 Number of rows: 65536
20 As string:
22 101.25
23 111.25
25 zzz
26 abc
27 TRUE
29 As int:
31 101
32 111
38 List of cells in sheet: