Add generated getter tests for cascade

Esse commit está contido em:
Jakub Zelenka
2013-04-07 19:05:46 +01:00
commit f810e1f86b
16 arquivos alterados com 192 adições e 0 exclusões
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_activation_functions() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_activation_functions( $ann ) );
?>
--EXPECTF--
array(%d) {%A}
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_activation_functions_count() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_activation_functions_count( $ann ) );
?>
--EXPECTF--
int(%d)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_activation_steepnesses() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_activation_steepnesses( $ann ) );
?>
--EXPECTF--
array(%d) {%A}
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_activation_steepnesses_count() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_activation_steepnesses_count( $ann ) );
?>
--EXPECTF--
int(%d)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_candidate_change_fraction() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_candidate_change_fraction( $ann ) );
?>
--EXPECTF--
float(%f)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_candidate_limit() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_candidate_limit( $ann ) );
?>
--EXPECTF--
float(%f)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_candidate_stagnation_epochs() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_candidate_stagnation_epochs( $ann ) );
?>
--EXPECTF--
int(%d)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_max_cand_epochs() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_max_cand_epochs( $ann ) );
?>
--EXPECTF--
int(%d)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_max_out_epochs() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_max_out_epochs( $ann ) );
?>
--EXPECTF--
int(%d)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_min_cand_epochs() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_min_cand_epochs( $ann ) );
?>
--EXPECTF--
float(%f)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_min_out_epochs() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_min_out_epochs( $ann ) );
?>
--EXPECTF--
int(%d)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_num_candidate_groups() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_num_candidate_groups( $ann ) );
?>
--EXPECTF--
int(%d)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_num_candidates() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_num_candidates( $ann ) );
?>
--EXPECTF--
int(%d)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_output_change_fraction() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_output_change_fraction( $ann ) );
?>
--EXPECTF--
float(%f)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_output_stagnation_epochs() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_output_stagnation_epochs( $ann ) );
?>
--EXPECTF--
float(%f)
@@ -0,0 +1,12 @@
--TEST--
Test function fann_get_cascade_weight_multiplier() by calling it with its expected arguments
--FILE--
<?php
$ann = fann_create_standard( 3, 3, 2, 1 );
var_dump( fann_get_cascade_weight_multiplier( $ann ) );
?>
--EXPECTF--
float(%f)