Ignore:
Timestamp:
04/24/17 18:19:34 (7 years ago)
Author:
Maciej Komosinski
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/geometry/geometrytestutils.cpp

    r550 r662  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2017  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    6666                        if (!model.isValid())
    6767                        {
    68                                 fprintf(stderr, "Cannot build Model from this genotype!\n");
     68                                fprintf(stderr, "Cannot build a valid Model from this genotype!\n");
    6969                                return 4;
    7070                        }
    71                                                
    72                         test(model);
     71                        SolidsShapeTypeModel sst_model(model);
     72                        test(sst_model);
    7373                        return 0;
    7474                }
     
    220220        fprintf(stderr,
    221221                "%s\n\n"
    222                 "argument lists:\n"
    223                 "-l FILENAME                    - to print list of models in file\n"
    224                 "-l FILENAME GENO_ID DENSITY    - to load model from file and run test\n"
    225                 "-c DENSITY [SHAPE]             - to create simple random model and run test\n\n"
    226                 "FILENAME - name of file containing named f0 genotypes\n"
     222                "argument list:\n"
     223                "-l FILENAME                    - to print the list of models in file\n"
     224                "-l FILENAME GENO_ID DENSITY    - to load the model from the file and run test\n"
     225                "-c DENSITY [SHAPE]             - to create a simple random model and run test\n\n"
     226                "FILENAME - name of the file containing named f0 genotypes\n"
    227227                "GENO_ID - either genotype name or index (1-based)\n"
    228228                "DENSITY - minimal number of samples per unit\n"
Note: See TracChangeset for help on using the changeset viewer.