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.180 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.179 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.178 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.177 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.176 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.175 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.174 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.173 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.172 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.171 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.170 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.169 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.167 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.166 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.165 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.164 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.163 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.162 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.161 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun
trackler-2.2.1.160 tracks/fortran/exercises/difference-of-squares/difference_of_squares.fun