Sha256: 2bc2aa7d7d35693f199142efad12a6fb7131037ddb36948569d456a6301ce650

Contents?: true

Size: 751 Bytes

Versions: 213

Compression:

Stored size: 751 Bytes

Contents

test_suite difference_of_squares

setup
end setup

test square_of_sum_1
  assert_equal( 1, square_of_sum(1) )
end test

Xtest square_of_sum_5
  assert_equal( 225, square_of_sum(5) )
end test

Xtest square_of_sum_100
  assert_equal( 25502500, square_of_sum(100) )
end test

Xtest sum_of_squares_1
  assert_equal( 1, sum_of_squares(1) )
end test

Xtest sum_of_squares_5
  assert_equal( 55, sum_of_squares(5) )
end test

Xtest sum_of_squares_100
  assert_equal( 338350, sum_of_squares(100) )
end test

Xtest difference_of_squares_1
  assert_equal( 0, difference(1) )
end test

Xtest difference_of_squares_5
  assert_equal( 170, difference(5) )
end test

Xtest difference_of_squares_100
 assert_equal( 25164150, difference(100) )
end test

end test_suite

Version data entries

213 entries across 213 versions & 1 rubygems

Version Path
trackler-2.2.1.139 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.138 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.137 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.136 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.135 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.134 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.133 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.132 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.131 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.130 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.129 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.128 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.127 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.126 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.125 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.124 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.123 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.122 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.121 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.120 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun