• Sign Up
  • Kata
  • Kumite
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Patrick Smith
Clan:Coder Factory Academy
Member Since:Jul 2016
Last Seen:Oct 2017
Profiles:
Following:81
Followers:77
Allies:77
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (11)
  • Replies
  • Authored
  • Needs Resolution
    • WestwardLand968
    • created an issue for "Convert integer to binary" kata

    Use assert_equals

    • pabloxio
    • commented on "Even or Odd" ruby solution

    hahaha really cool solution :D

    • anter69
    • created an issue for "Any base number to decimal" kata
    • uses test_expect
    • you basically eed to wrap a built-in function

    ...plus all the below issues

    • Blind4Basics
    • created an issue for "Any base number to decimal" kata

    This comment is hidden because it contains spoiler information about the solution

    • suic
    • created an issue for "Convert integer to binary" kata

    Convert integer numbers to binary, without using the to_s(2) method.

    1. There's no check for to_s(2) (see this)
    2. No random tests
    • Unnamed
    • created a suggestion for "Convert integer to binary" kata

    There should be some tests with the minimum width less than the number of digits. Random tests would be nice too.

    • cliffstamp
    • commented on "Convert integer to binary" kata

    This seems resolved now : "The second optional argument passes the minimum length. If your binary number is shorter than this length, then pad zeros on the left hand side to fulfill this minimum length ... "

    • robertexe
    • commented on "Even or Odd" ruby solution

    I'm literally days in learning Ruby, and this simple solution has already taught me so much and made me think of so many more things that could be done with this concept, THANK YOU

    • seasidetesting
    • created a suggestion for "Any base number to decimal" kata

    Since it's explicitly mentioned in the description, there should be a test to check that String#to_i(int) isn't used.

    • Voile
    • created an issue for "Any base number to decimal" kata

    Needs random tests

    Also base conversion is a duplicate

    • Unnamed
    • created an issue for "Convert integer to binary" kata

    According to the description, the second argument is the number of leading zeros, but the tests treat it as a full string length including other digits.

  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm