// File: /workspace/github_cpp_makefile_star2_O2/aisthesis[P]realnumber/tst/array_arithmetic_test.cpp
// Function: conversion_helpers::to_digit_array::test_method()
BOOST_AUTO_TEST_CASE(to_digit_array) {
		unsigned char* digits1 = array_arithmetic::convert::helpers::to_digit_array("123");
		BOOST_CHECK_EQUAL(digits1[0], static_cast<unsigned char>(1));
		BOOST_CHECK_EQUAL(digits1[1], static_cast<unsigned char>(2));
		BOOST_CHECK_EQUAL(digits1[2], static_cast<unsigned char>(3));
		delete[] digits1;
		BOOST_CHECK_THROW(array_arithmetic::convert::helpers::to_digit_array("12."), std::invalid_argument); 
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
leaq 0xbd92(%rip), %rsi      # 0x11127
leaq -0x60(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xebc4
leaq -0x60(%rbp), %rdi
callq 0xf7b4
movq %rax, %r14
leaq -0x60(%rbp), %r15
movq %r15, %rdi
callq 0x30a0
movq 0x10dd7(%rip), %rdi     # 0x16198
leaq 0xbc93(%rip), %rbx      # 0x1105b
leaq -0x170(%rbp), %rsi
movq %rbx, (%rsi)
leaq 0xbc9f(%rip), %rax      # 0x11078
movq %rax, 0x8(%rsi)
movq %rax, %r13
leaq 0xc679(%rip), %r12      # 0x11a60
leaq -0x160(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
pushq $0x3c
popq %rdx
callq 0x32a0
xorl %eax, %eax
movb %al, 0x8(%r15)
leaq 0x1073e(%rip), %rax     # 0x15b48
movq %rax, (%r15)
movq 0x10bb4(%rip), %rax     # 0x15fc8
movq %rax, 0x10(%r15)
leaq 0xc9b2(%rip), %rax      # 0x11dd1
movq %rax, 0x18(%r15)
leaq -0x150(%rbp), %rsi
movq %rbx, (%rsi)
movq %r13, 0x8(%rsi)
movb $0x1, -0x40(%rbp)
subq $0x8, %rsp
leaq 0xbcf6(%rip), %rax      # 0x11136
leaq 0xbce4(%rip), %r10      # 0x1112b
leaq -0x60(%rbp), %r13
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
movq %r13, %rdi
pushq $0x3c
popq %rdx
movq %r14, %r9
pushq %rax
leaq -0x40(%rbp), %r15
pushq %r15
pushq %r10
callq 0xebff
addq $0x20, %rsp
movq 0x10d24(%rip), %rdi     # 0x16198
leaq -0x140(%rbp), %rsi
movq %rbx, %r15
movq %rbx, (%rsi)
movq %r14, %rbx
leaq 0xbbed(%rip), %r14      # 0x11078
movq %r14, 0x8(%rsi)
leaq -0x130(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
pushq $0x3d
popq %rdx
callq 0x32a0
xorl %eax, %eax
movb %al, 0x8(%r13)
leaq 0x10696(%rip), %rax     # 0x15b48
movq %rax, (%r13)
movq 0x10b0b(%rip), %rax     # 0x15fc8
movq %rax, 0x10(%r13)
leaq 0xc909(%rip), %rax      # 0x11dd1
movq %rax, 0x18(%r13)
leaq -0x120(%rbp), %rsi
movq %r15, (%rsi)
movq %r14, 0x8(%rsi)
leaq 0x1(%rbx), %r9
movb $0x2, -0x40(%rbp)
subq $0x8, %rsp
leaq 0xbc72(%rip), %rax      # 0x1115f
leaq 0xbc60(%rip), %r10      # 0x11154
movq %r13, %rdi
pushq $0x3d
popq %rdx
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
pushq %rax
leaq -0x40(%rbp), %rax
pushq %rax
pushq %r10
callq 0xebff
addq $0x20, %rsp
movq 0x10c7f(%rip), %rdi     # 0x16198
leaq -0x110(%rbp), %rsi
movq %r15, (%rsi)
movq %r14, 0x8(%rsi)
leaq -0x100(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
pushq $0x3e
popq %r14
movq %r14, %rdx
callq 0x32a0
xorl %eax, %eax
movb %al, 0x8(%r13)
leaq 0x105fa(%rip), %rax     # 0x15b48
movq %rax, (%r13)
movq 0x10a6f(%rip), %rax     # 0x15fc8
movq %rax, 0x10(%r13)
leaq 0xc86d(%rip), %rax      # 0x11dd1
movq %rax, 0x18(%r13)
movq %r12, %r13
leaq -0xf0(%rbp), %rsi
movq %r15, %r12
movq %r15, (%rsi)
leaq 0xbaf9(%rip), %r8       # 0x11078
movq %r8, 0x8(%rsi)
movq %rbx, %r9
addq $0x2, %r9
movb $0x3, -0x40(%rbp)
subq $0x8, %rsp
leaq 0xbbef(%rip), %rax      # 0x11188
leaq 0xbbdd(%rip), %r10      # 0x1117d
leaq -0x60(%rbp), %rdi
movq %r14, %rdx
pushq $0x1
popq %rcx
movq %r8, %r15
pushq $0x2
popq %r8
pushq %rax
leaq -0x40(%rbp), %rax
pushq %rax
pushq %r10
callq 0xebff
addq $0x20, %rsp
movq %rbx, %rdi
callq 0x31c0
movq 0x10bc7(%rip), %rdi     # 0x16198
leaq -0xe0(%rbp), %rsi
movq %r12, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0xd0(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x40
popq %rdx
callq 0x32a0
leaq 0xbbaa(%rip), %rsi      # 0x111a6
leaq -0x60(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xebc4
leaq -0x60(%rbp), %rdi
callq 0xf7b4
leaq -0x60(%rbp), %rdi
callq 0x30a0
movq 0x10b76(%rip), %rdi     # 0x16198
leaq -0xc0(%rbp), %rsi
movq %r12, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0xb0(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x40
popq %rdx
callq 0x32a0
xorl %eax, %eax
leaq -0x40(%rbp), %rdi
movb %al, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0x60(%rbp), %rsi
movb %al, 0x8(%rsi)
leaq 0x105b5(%rip), %rax     # 0x15c18
movq %rax, (%rsi)
movq 0x1095b(%rip), %rax     # 0x15fc8
movq %rax, 0x10(%rsi)
leaq 0xbb32(%rip), %rax      # 0x111aa
movq %rax, 0x18(%rsi)
leaq -0xa0(%rbp), %rdx
movq %r12, (%rdx)
movq %r15, 0x8(%rdx)
subq $0x8, %rsp
pushq $0x40
popq %rcx
pushq $0x1
popq %r8
movl %r8d, %r9d
xorl %eax, %eax
pushq $0x0
callq 0x3290
popq %rcx
popq %rdx
leaq -0x30(%rbp), %rdi
callq 0xeffe
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0xeffe
jmp 0x5701
movq %rdx, %r14
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x30a0
jmp 0x5701
jmp 0x56fb
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x30a0
jmp 0x56f3
movq %rax, %rbx
movq %rbx, %rdi
callq 0x3260
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x56f3
movq %rbx, %rdi
callq 0x3080
movq 0x10a82(%rip), %rdi     # 0x16198
leaq -0x90(%rbp), %rsi
movq %r12, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0x80(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x40
popq %rdx
callq 0x32a0
leaq -0x40(%rbp), %rdi
movb $0x1, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0x60(%rbp), %rsi
movb $0x0, 0x8(%rsi)
leaq 0x10504(%rip), %rax     # 0x15c58
movq %rax, (%rsi)
movq 0x1086a(%rip), %rax     # 0x15fc8
movq %rax, 0x10(%rsi)
leaq 0xba79(%rip), %rax      # 0x111e2
movq %rax, 0x18(%rsi)
leaq -0x70(%rbp), %rdx
movq %r12, (%rdx)
movq %r15, 0x8(%rdx)
subq $0x10, %rsp
andq $0x0, (%rsp)
pushq $0x40
popq %rcx
pushq $0x1
popq %r8
movl %r8d, %r9d
xorl %eax, %eax
callq 0x3290
popq %rcx
popq %rdx
leaq -0x30(%rbp), %rdi
callq 0xeffe
callq 0x3210
jmp 0x56ac
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0xeffe
jmp 0x57b8
movq %rax, %rbx
callq 0x3210
jmp 0x56f3
movq %rax, %rdi
callq 0xece7