Решение на Сметки с ДНК от Александър Каратов
Обратно към всички решения
Към профила на Александър Каратов
Резултати
- 12 точки от тестове
- 1 бонус точка
- 13 точки общо
- 7 успешни тест(а)
- 5 неуспешни тест(а)
Код
Лог от изпълнението
Compiling solution v0.1.0 (/tmp/d20220112-2706256-5s63t8/solution)
Finished test [unoptimized + debuginfo] target(s) in 5.50s
Running tests/solution_test.rs (target/debug/deps/solution_test-4c880d3f0adaac34)
running 12 tests
test solution_test::test_counts_basic ... ok
test solution_test::test_counts_big ... ok
test solution_test::test_counts_panic1 - should panic ... FAILED
test solution_test::test_counts_panic2 - should panic ... FAILED
test solution_test::test_counts_zero ... ok
test solution_test::test_dna_complement_big ... ok
test solution_test::test_dna_complement_empty ... ok
test solution_test::test_dna_complement_panic - should panic ... FAILED
test solution_test::test_reverse_rna_complement_big ... ok
test solution_test::test_reverse_rna_complement_empty ... ok
test solution_test::test_reverse_rna_complement_panic1 - should panic ... FAILED
test solution_test::test_reverse_rna_complement_panic2 - should panic ... FAILED
failures:
---- solution_test::test_counts_panic1 stdout ----
System of a down says: Why`d you leave the errors on the table?
note: test did not panic as expected
---- solution_test::test_counts_panic2 stdout ----
System of a down says: Why`d you leave the errors on the table?
note: test did not panic as expected
---- solution_test::test_dna_complement_panic stdout ----
System of a down says: Why`d you leave the errors on the table?
note: test did not panic as expected
---- solution_test::test_reverse_rna_complement_panic1 stdout ----
System of a down says: Why`d you leave the errors on the table?
note: test did not panic as expected
---- solution_test::test_reverse_rna_complement_panic2 stdout ----
System of a down says: Why`d you leave the errors on the table?
note: test did not panic as expected
failures:
solution_test::test_counts_panic1
solution_test::test_counts_panic2
solution_test::test_dna_complement_panic
solution_test::test_reverse_rna_complement_panic1
solution_test::test_reverse_rna_complement_panic2
test result: FAILED. 7 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
error: test failed, to rerun pass '--test solution_test'
История (1 версия и 1 коментар)
Александър качи първо решение на 23.10.2021 23:48 (преди почти 4 години)