This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Increase/decrease progress bar on button click | |
$(document).ready(function() { | |
$('.appbutton').on('click', function(){ | |
var currentVal = $('#signup-progress').val(); | |
currentVal += 10; | |
$('#signup-progress').val(currentVal); // Actually update the input? | |
console.log(currentVal) | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitest/autorun' | |
require 'minitest/pride' | |
require 'pry' | |
require_relative './nucleotide' | |
class DNATest < MiniTest::Test | |
def test_empty_dna_string_has_no_adenosine | |
# skip | |
assert_equal 0, DNA.new('').count('A') | |
end |